You are here

public property EntityReferenceSelection::$weight in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Entity/Annotation/EntityReferenceSelection.php \Drupal\Core\Entity\Annotation\EntityReferenceSelection::weight
  2. 10 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\Annotation

Code

public $weight;