Extension points in twig.ini
Settings of settings/twig.ini whose name says they hold handlers, classes, filters, providers or directories that an extension can add to or replace. Found by the setting's name: a heuristic. Read the setting's comment (linked) before relying on it.
An extension adds to a list in its own settings/twig.ini.append.php (active extensions' settings are read after the kernel's and before settings/override):
TwigSettings SecurityAllowedFilterList
Shipped: a list of 31: abs, batch, capitalize, column, date, default, e, escape, first, format, join, json_encode .... The setting.
# extension/expexample/settings/twig.ini.append.php
[TwigSettings]
SecurityAllowedFilterList[]=expExampleSecurityAllowedFilter # your class or value, added to the list
*/ ?>Related
Generated by ./console exp:help:examples from settings/twig.ini. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.