Twig globals


The Starter Pack bundle prepends a set of twig globals that allows:
  • developers to quickly add a little bit of configuration to the layout
  • storing attributes configuration in a frontend framework agnostic way (thanks to the mapping parameter accepted by get_block_attribute method)

By customizing Starter Pack globals in config/packages/twig.yaml

config/packages/twig.yaml

1twig 2 globals 3 degditor 4 style: # style definitions 5 map: # style mappings 6
will result in a complete override of these configs (no merge).

For a list of all the prependend twig globals, please, refer to FiftyDegSyliusDegditorStarterPackExtension.php or debug twig globals by running
php bin/console debug:config twig
Three, two, one...

Ready for DegDitor?

Try the plugin

Experience the best features at no cost

Get a better understanding of DegDitor and how it works

Test it risk-free and see the results

Try it

Get a demo

Get a personalized demo tailored to your unique needs

Preview our pricing plans

Evaluate DegDitor against your requirements

Get a demo

We are here for you

After months of intense development, it’s time to put DegDitor to work. For feedback, questions or information please contact us!

Contact us