This Twig helper is available as of eZ Publish 5.3 / 2014.05 |
ez_legacy_render_css()
is a Twig helper which adds css (code and files) configured in ezjscore to legacy callback modules.
It returns a HTML code to insert in the <head> of your page.
ez_legacy_render_cs()
Just insert the function where the HTML code needs to be inserted.
<head> <!-- code of your head --> {# Adds css code and files from ezjscore #} {{ ez_legacy_render_css() }} <!-- code of your head --> </head> |
You can customize the display of the function by overriding the template used in the following parameter: ezpublish_legacy.twig.extension.template.css