Skip to the content
Documentation

ez_first_filled_image_field

No ratings yet

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\API\Repository\Values\Content\Content content )

Argument name Type Description
content eZ\Publish\API\Repository\Values\Content\Content Content item the Fields belong to

Contributors

Comments

Add a comment

Comments are read by a moderator before they appear.