Developer Reference

Developer Reference

Now that you’ve explored the Feature Overview, this section shows you how to integrate and customize Sylius CMS Plugin components in your storefront:

  • Twig Hooks — the recommended way to inject CMS features into existing templates

  • Twig Functions — direct template calls when hooks aren’t available

To unlock the full power of the CMS plugin, pick the right entry points and inject your content where it makes sense. We’ll cover Twig Hook setups in each module below. If you’re new to Twig Hooks, start with the Twig Hooks guide.

Jump to the module you need:

Customization

You can customize this plugin using:

In order to check what services are available with this plugin, run the following command:

bin/console debug:container sylius_cms

Note:

All forms are prefixed with 'sylius_cms.form.'*

If you want to check what routes are available with this plugin, use:

bin/console debug:router | grep sylius_cms

To check parameters available with the plugin, execute:

bin/console debug:container --parameters | grep sylius_cms

Last updated

Was this helpful?