function FormatterBase::prepareView

Same name and namespace in other branches
  1. 11.x core/lib/Drupal/Core/Field/FormatterBase.php \Drupal\Core\Field\FormatterBase::prepareView()
  2. 10 core/lib/Drupal/Core/Field/FormatterBase.php \Drupal\Core\Field\FormatterBase::prepareView()
  3. 8.9.x core/lib/Drupal/Core/Field/FormatterBase.php \Drupal\Core\Field\FormatterBase::prepareView()
1 method overrides FormatterBase::prepareView()
TestFieldPrepareViewFormatter::prepareView in core/modules/field/tests/modules/field_test/src/Plugin/Field/FieldFormatter/TestFieldPrepareViewFormatter.php
Allows formatters to load information for field values being displayed.

File

core/lib/Drupal/Core/Field/FormatterBase.php, line 138

Class

FormatterBase
Base class for 'Field formatter' plugin implementations.

Namespace

Drupal\Core\Field

Code

public function prepareView(array $entities_items) {
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.