You are here

public function CustomFormatters::prepareView in Custom Formatters 8.3

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

Overrides EntityReferenceFormatterBase::prepareView

File

src/Plugin/Field/FieldFormatter/CustomFormatters.php, line 63

Class

CustomFormatters
Plugin implementation of the 'text_default' formatter.

Namespace

Drupal\custom_formatters\Plugin\Field\FieldFormatter

Code

public function prepareView(array $entities_items) {

  // @TODO
}