EntityReferenceSelection::$id

Same name in other branches
  1. 9 core/lib/Drupal/Core/Entity/Annotation/EntityReferenceSelection.php \Drupal\Core\Entity\Annotation\EntityReferenceSelection::id
  2. 8.9.x core/lib/Drupal/Core/Entity/Annotation/EntityReferenceSelection.php \Drupal\Core\Entity\Annotation\EntityReferenceSelection::id
  3. 10 core/lib/Drupal/Core/Entity/Annotation/EntityReferenceSelection.php \Drupal\Core\Entity\Annotation\EntityReferenceSelection::id

The plugin ID.

There are some implementation bugs that make the plugin available only if the ID follows a specific pattern. It must be either identical to group or prefixed with the group. E.g. if the group is "foo" the ID must be either "foo" or "foo:bar".

Type: string

File

core/lib/Drupal/Core/Entity/Annotation/EntityReferenceSelection.php, line 33

Class

EntityReferenceSelection
Defines an EntityReferenceSelection plugin annotation object.

Namespace

Drupal\Core\Entity\Annotation

Code

public $id;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.