Skip to content

Conversation

@gambry
Copy link
Contributor

@gambry gambry commented Mar 2, 2019

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.
@aleksip aleksip merged commit a5186bc into aleksip:develop Mar 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants