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