Twig functions
Reference documentation for Twig functions/filters/tags embedded with eZ Platform
Symfony & Twig template functions/filters/tags
For template functionality provided by Symfony Framework, see Symfony Twig Extensions Reference page. For those provided by the underlying Twig template engine, see Twig Reference page
In this section
- ez_content_name Description ez_content_name() is a Twig helper which allows displaying a Content item's name in the current language. If the current language cannot be f...
- ez_field_description Description ez_field_description() is a Twig helper which returns a Content item's field FieldDefinition description in the current language. This can be u...
- ez_field_name Description ez_field_name() is a Twig helper which returns a Content item's field FieldDefinition name in the current language. This can be useful when you...
- ez_field_value Description ez_field_value() is a Twig helper which returns a Content item's field value in the current language. This can be useful when you don't want to...
- ez_file_size Description ez_file_size() is a Twig helper (Twig filter) which is mostly a byte calculator. It will convert a number from byte to the correct suffix (from...
- ez_is_field_empty Description ez_is_field_empty() is a Twig helper which checks if a Content item's field value is considered empty in the current language. It returns a boo...
- ez_render_field Description ez_render_field() is a Twig helper allowing you to display a Content item's Field value, taking advantage of the template block exposed by the F...
- ez_trans_prop Description ez_trans_prop() is a generic, low level Twig helper which corrects the translated value of a multi valued(translations) property. If the cur...
- ez_urlalias ez_urlalias is a not a real Twig helper, but a special route name for generating URLs for a Location from the given parameters.
- ez_field AVAILABLE AS OF 2016.02 Description ez_field() is a Twig helper which returns a field value in the current language. Note that other Twig helpers are av...
- ez_field_value Description ez_field_value() is a Twig helper which returns a Content item's field value in the current language. This can be useful when you don't want to...
Contributors
- Jérôme Vieilledent
- André Rømcke Updated
Comments
Add a comment