You are here

public property FieldWidget::$field_types in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Field/Annotation/FieldWidget.php \Drupal\Core\Field\Annotation\FieldWidget::field_types
  2. 9 core/lib/Drupal/Core/Field/Annotation/FieldWidget.php \Drupal\Core\Field\Annotation\FieldWidget::field_types

An array of field types the widget supports.

Type: array

File

core/lib/Drupal/Core/Field/Annotation/FieldWidget.php, line 63

Class

FieldWidget
Defines a FieldWidget annotation object.

Namespace

Drupal\Core\Field\Annotation

Code

public $field_types = [];