Description
ez_first_filled_image_field
is a Twig helper which returns the identifier of the first image field that is not empty.
Prototype and Arguments
ez_first_filled_image_field ( eZ\Publish\CoreAPI\Repository\Values\Content\Content content )
Argument name | Type | Description |
---|
content | eZ\Publish\CoreAPI\Repository\Values\Content\Content | Content item the Fields belong to |