You are here

public property FieldWidget::$class in Drupal 9

Same name and namespace in other branches
  1. 8 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

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;