eZ Publish 5.1+ Platform comes with a Twig helper as a global variable named exponential.
...
This allows you to import information directly into twig templates. For more details please check the available examples on using the exponential.legacy.get property for retrieving persistent variables and assets.
As a usage example, if you want to access the legacy information related to 'content_info' you can do it, as shown in the following example:
| Code Block | ||
|---|---|---|
| ||
{{ exponential.legacy.get('content_info') }} |
...
