public property EntityReferenceSelection::$weight in Drupal 9
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Entity/Annotation/EntityReferenceSelection.php \Drupal\Core\Entity\Annotation\EntityReferenceSelection::weight
The weight of the plugin in its group.
This property is used to select the "best" plugin within a group.
Type: int
File
- core/
lib/ Drupal/ Core/ Entity/ Annotation/ EntityReferenceSelection.php, line 77
Class
- EntityReferenceSelection
- Defines an EntityReferenceSelection plugin annotation object.
Namespace
Drupal\Core\Entity\AnnotationCode
public $weight;