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 = [];

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