Lines Matching refs:true
190 ``needs_environment`` option to ``true``; Twig will pass the current
198 }, ['needs_environment' => true]);
204 ``needs_context`` option to ``true``; Twig will pass the current context as
206 ``needs_environment`` is also set to ``true``)::
210 }, ['needs_context' => true]);
214 }, ['needs_context' => true, 'needs_environment' => true]);
240 ``is_variadic`` option to ``true``; Twig will pass the extra arguments as the
245 }, ['is_variadic' => true]);
284 to ``true``. You can also give an alternative filter that replaces the
289 }, ['deprecated' => true, 'alternative' => 'new_one']);
328 return true;
331 return true;
337 Test functions should always return true/false.
379 test, set the ``is_variadic`` option to ``true``. Tests support dynamic