FieldFormatter::$field_types
Same name in other branches
- 9 core/lib/Drupal/Core/Field/Annotation/FieldFormatter.php \Drupal\Core\Field\Annotation\FieldFormatter::field_types
- 10 core/lib/Drupal/Core/Field/Annotation/FieldFormatter.php \Drupal\Core\Field\Annotation\FieldFormatter::field_types
- 11.x 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\AnnotationCode
public $field_types = [];
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.