You are here

public function FileImageFormatter::prepareView in File Entity (fieldable files) 8.2

Loads the entities referenced in that field across all the entities being viewed.

Overrides EntityReferenceFormatterBase::prepareView

File

src/Plugin/Field/FieldFormatter/FileImageFormatter.php, line 159

Class

FileImageFormatter
Implementation of the 'image' formatter for the file_entity files.

Namespace

Drupal\file_entity\Plugin\Field\FieldFormatter

Code

public function prepareView(array $entities_items) {
}