You are here

public function BlazyFormatterBlazy::buildElement in Blazy 7

Build individual item if so configured such as for file entity goodness.

Overrides BlazyFormatterBase::buildElement

1 call to BlazyFormatterBlazy::buildElement()
BlazyFormatterBlazy::buildElements in src/Plugin/Field/FieldFormatter/BlazyFormatterBlazy.php
Build the Blazy elements for image and file entity/ media.
1 method overrides BlazyFormatterBlazy::buildElement()
BlazyFileFormatter::buildElement in src/Plugin/Field/FieldFormatter/BlazyFileFormatter.php
Build individual item if so configured such as for file entity goodness.

File

src/Plugin/Field/FieldFormatter/BlazyFormatterBlazy.php, line 104

Class

BlazyFormatterBlazy
Plugin implementation of the `Blazy File` or `Blazy Image` for Blazy only.

Namespace

Drupal\blazy\Plugin\Field\FieldFormatter

Code

public function buildElement(array &$element, $entity, $delta = 0) {

  // Do nothing.
}