Set addNodeVisitor to a lower priority, so other plugins can CRUD twig extensions.
This PR tries to fix #24 , by setting -99 priority for the twigPatternLoader.customize event subscriber. In fact when addNodeVisitor runs, Twig is initialised and new extensions can be registered. By setting this to -99 (default priority is 0) all plugins subscribers will run before us.
Set addNodeVisitor to a lower priority, so other plugins can CRUD twig extensions.
This PR tries to fix #24 , by setting -99 priority for the
twigPatternLoader.customize
event subscriber. In fact whenaddNodeVisitor
runs, Twig is initialised and new extensions can be registered. By setting this to -99 (default priority is 0) all plugins subscribers will run before us.