Skip to the content
Documentation

ez_first_filled_image_field: comparison of v.1 vs v.2

No ratings yet

Versions Compared

Old Version 1

changes.mady.by.user Dominika Kurek

Saved on Jul 08, 2016

compared with

New Version Current

changes.mady.by.user André Rømcke

Saved on Dec 31, 2016

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 name Type Description
content eZ\Publish\CoreAPI\Repository\Values\Content\Content Content item the Fields belong to

Comments

Add a comment

Comments are read by a moderator before they appear.