Version compatibility
This Twig helper is available as of eZ Publish 5.3 / 2014.05
Description
ez_legacy_render_js()
is a Twig helper which adds javascript (code and files) configured in ezjscore to legacy callback modules.
It returns a HTML code to insert in the <head> of your page.
Prototype and Arguments
ez_legacy_render_js()
Usage
Just insert the function where the HTML code needs to be inserted.
Customization
You can customize the display of the function by overriding the template used in the following parameter: ezpublish_legacy.twig.extension.template.js