An integer to determine the weight of this widget relative to other widgets in the Field UI when selecting a widget for a given field.
Type: int optional
File
- core/lib/Drupal/Core/Field/Annotation/FieldWidget.php, line 78
Class
- FieldWidget
- Defines a FieldWidget annotation object.
Namespace
Drupal\Core\Field\Annotation
Code
public $weight = NULL;
Please login to continue.