public function FormatterBase::prepareView

Implements Drupal\field\Plugin\Type\Formatter\FormatterInterface::prepareView().

Overrides FormatterInterface::prepareView

2 methods override FormatterBase::prepareView()
LegacyFormatter::prepareView in drupal/core/modules/field/lib/Drupal/field/Plugin/field/formatter/LegacyFormatter.php
Implements Drupal\field\Plugin\Type\Formatter\FormatterInterface::prepareView().
TestFieldPrepareViewFormatter::prepareView in drupal/core/modules/field/tests/modules/field_test/lib/Drupal/field_test/Plugin/field/formatter/TestFieldPrepareViewFormatter.php
Implements Drupal\field\Plugin\Type\Formatter\FormatterInterface::prepareView().

File

drupal/core/modules/field/lib/Drupal/field/Plugin/Type/Formatter/FormatterBase.php, line 145
Definition of Drupal\field\Plugin\Type\Formatter\FormatterBase.

Class

FormatterBase
Base class for 'Field formatter' plugin implementations.

Namespace

Drupal\field\Plugin\Type\Formatter

Code

public function prepareView(array $entities, $langcode, array &$items) {
}