FieldFormatter::$field_types

An array of field types the formatter supports.

Type: array

File

core/lib/Drupal/Core/Field/Annotation/FieldFormatter.php, line 64

Class

FieldFormatter
Defines a FieldFormatter annotation object.

Namespace

Drupal\Core\Field\Annotation

Code

public $field_types = [];

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