Lines Matching full:add
10 Twig can be extended in many ways; you can add extra tags, filters, tests,
152 Then, add the filter to your Twig environment::
577 to host all the specific tags and filters you want to add to Twig.
604 * Returns the token parser instances to add to the existing list.
611 * Returns the node visitor instances to add to the existing list.
618 * Returns a list of filters to add to the existing list.
625 * Returns a list of tests to add to the existing list.
632 * Returns a list of functions to add to the existing list.
639 * Returns a list of operators to add to the existing list.
646 * Returns a list of global variables to add to the existing list.
732 To add a filter to an extension, you need to override the ``getFilters()``
733 method. This method must return an array of filters to add to the Twig
752 ``getTokenParsers()`` method. This method must return an array of tags to add
772 The ``getOperators()`` methods lets you add new operators. Here is how to add
796 The ``getTests()`` method lets you add new test functions::