Navigation
eZ Documentation Center
 

This is outdated documentation made for eZ Publish Platform 5.2. It is being moved into the eZ Publish 5.x documentation, so please go there for most up-to-date documentation.

Skip to end of metadata
Go to start of metadata

For better integration between 5.2 (symfony based) kernel and legacy (4.x) kernel, injection is used to inject settings, session and current siteaccess from 5.2 into legacy using an event: kernel.event_subscriber

This page describe how you can do that.  

Adding a kernel.event_subscriber

A legacy kernel event subscriber is added by tagging your event subscriber service.

Bellow is an example of yml configuration involved:

kernel.event_subscriber

 

The class refered to as %my_app.legacy_mapper.something.class% can look like this:

my_app.legacy_mapper.something.class


  • No labels