FieldWidget::$class

Same name in other branches
  1. 9 core/lib/Drupal/Core/Field/Annotation/FieldWidget.php \Drupal\Core\Field\Annotation\FieldWidget::class
  2. 10 core/lib/Drupal/Core/Field/Annotation/FieldWidget.php \Drupal\Core\Field\Annotation\FieldWidget::class
  3. 11.x core/lib/Drupal/Core/Field/Annotation/FieldWidget.php \Drupal\Core\Field\Annotation\FieldWidget::class

The name of the widget class.

This is not provided manually, it will be added by the discovery mechanism.

Type: string

File

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

Class

FieldWidget
Defines a FieldWidget annotation object.

Namespace

Drupal\Core\Field\Annotation

Code

public $class;

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