Lines Matching full:add
10 Twig can be extended in many ways; you can add extra tags, filters, tests,
189 Let's say I now want to be able to add a prefix before the converted string:
521 to host all the specific tags and filters you want to add to Twig.
546 * Returns the token parser instances to add to the existing list.
553 * Returns the node visitor instances to add to the existing list.
560 * Returns a list of filters to add to the existing list.
567 * Returns a list of tests to add to the existing list.
574 * Returns a list of functions to add to the existing list.
581 * Returns a list of operators to add to the existing list.
588 * Returns a list of global variables to add to the existing list.
680 To add a filter to an extension, you need to override the ``getFilters()``
681 method. This method must return an array of filters to add to the Twig
772 ``getTokenParsers()`` method. This method must return an array of tags to add
792 The ``getOperators()`` methods allows to add new operators. Here is how to add
816 The ``getTests()`` methods allows to add new test functions::