Edit on GitHub

Dependency Injection Tags

Please read the intro of dependency injection tags of Symfony first.

In addition to the tags provided by Symfony, Pimcore adds it's own tags to flag special purpose services.

Following an overview of all additional service tags provided by Pimcore:

Name Usage
pimcore.templating.vars_provider Register a service that adds certain variables to all your view models
pimcore.session.configurator Configure sessions before they are started, useful for registering session bags
pimcore.templating.helper_broker Add a helper broker service to the templating engine. Using templating.helper is more common, and recommended
pimcore.area.brick Used to register your custom area bricks, which are not loaded by the discovering service