You are here

public function BlazyFormatterInterface::postBuildElements in Blazy 7

Same name and namespace in other branches
  1. 8.2 src/BlazyFormatterInterface.php \Drupal\blazy\BlazyFormatterInterface::postBuildElements()

Modifies the field formatter settings not inherited by child elements.

Parameters

array $build: The array containing: items, settings, or a potential optionset.

object $items: The Drupal\Core\Field\FieldItemListInterface items.

object $entity: The entity this field belongs to.

array $entities: The optional entities array, not available for non-entities: text, image.

File

src/BlazyFormatterInterface.php, line 48

Class

BlazyFormatterInterface
Defines common field formatter-related methods: Blazy, Slick.

Namespace

Drupal\blazy

Code

public function postBuildElements(array &$build, $items, $entity, array $entities = []);