jposition($position, $attribs = [])
It allows to render a module position inside a twig layout.
Parameters
string
$position Name of the position to renderarray
$attribs An array of attributes for the module chrome function.
Returns
string
HTML with the position content
Examples
{# Render the content of the template position-8 #}
{{ jposition('position-8') }}