Same name and namespace in other branches
  1. 8.9.x core/lib/Drupal/Core/Field/Annotation/FieldFormatter.php \Drupal\Core\Field\Annotation\FieldFormatter::field_types
  2. 9 core/lib/Drupal/Core/Field/Annotation/FieldFormatter.php \Drupal\Core\Field\Annotation\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 = [];