Twig usage¶
Netgen Layouts includes a number of Twig functions and tags to make it easier to work with layouts and blocks in your Twig templates.
Some of the functions are used by the frontend and backend layout and block templates, while others are used exclusively in the administration interface of Netgen Layouts.
List of built in Twig functions¶
The following lists all Twig functions built into Netgen Layouts.
nglayouts_render_block
nglayouts_render_layout
nglayouts_render_item
nglayouts_render_result
nglayouts_render_parameter
nglayouts_render_placeholder
nglayouts_render_rule
nglayouts_render_rule_group
nglayouts_render_rule_target
nglayouts_render_rule_condition
nglayouts_render_value
nglayouts_render_role
nglayouts_render_role_policy
nglayouts_render_policy_limitation
nglayouts_item_path
nglayouts_collection_pager
nglayouts_collection_page_url
nglayouts_ibexa_content_name
nglayouts_ibexa_location_path
nglayouts_ibexa_content_type_name
List of built in Twig tags¶
The following lists all Twig tags built into Netgen Layouts.
List of built in Twig global variables¶
The following lists all Twig global variables built into Netgen Layouts.