public property FieldFormatter::$weight in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Field/Annotation/FieldFormatter.php \Drupal\Core\Field\Annotation\FieldFormatter::weight
- 9 core/lib/Drupal/Core/Field/Annotation/FieldFormatter.php \Drupal\Core\Field\Annotation\FieldFormatter::weight
An integer to determine the weight of this formatter relative to other formatter in the Field UI when selecting a formatter for a given field instance.
This property is optional and it does not need to be declared.
Type: int
File
- core/
lib/ Drupal/ Core/ Field/ Annotation/ FieldFormatter.php, line 75
Class
- FieldFormatter
- Defines a FieldFormatter annotation object.
Namespace
Drupal\Core\Field\AnnotationCode
public $weight = NULL;