General

  eZ Systems Website
  Editor documentation


  Developer documentation

  Back to the top

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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 nameTypeDescription
contenteZ\Publish\CoreAPI\Repository\Values\Content\ContentContent item the Fields belong to