TWIG third-party extension
7
{% sw_extends '@PluginName/storefront/path/to/something/filename.html.twig' %}
When extending a third party plugin through TWIG, you can specify the plugin name in the extension for several gains.
- Faster initial lookup time for compile
- Easy for the next developer to see what you are extending
- Gracefull ignore when 3-rd party plugin is removed.
There are no comments yet
Be the first one to comment