FieldWidget::$weight
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Field/Annotation/FieldWidget.php \Drupal\Core\Field\Annotation\FieldWidget::weight
- 10 core/lib/Drupal/Core/Field/Annotation/FieldWidget.php \Drupal\Core\Field\Annotation\FieldWidget::weight
- 11.x core/lib/Drupal/Core/Field/Annotation/FieldWidget.php \Drupal\Core\Field\Annotation\FieldWidget::weight
An integer to determine weight of this widget relative to other widgets.
Other widgets are in the Field UI when selecting a widget for a given field.
This property is optional and it does not need to be declared.
Type: int
File
-
core/
lib/ Drupal/ Core/ Field/ Annotation/ FieldWidget.php, line 82
Class
- FieldWidget
- Defines a FieldWidget annotation object.
Namespace
Drupal\Core\Field\AnnotationCode
public $weight = NULL;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.