EntityReferenceSelection::$entity_types

Same name and namespace in other branches
  1. 11.x core/lib/Drupal/Core/Entity/Annotation/EntityReferenceSelection.php \Drupal\Core\Entity\Annotation\EntityReferenceSelection::entity_types
  2. 10 core/lib/Drupal/Core/Entity/Annotation/EntityReferenceSelection.php \Drupal\Core\Entity\Annotation\EntityReferenceSelection::entity_types
  3. 9 core/lib/Drupal/Core/Entity/Annotation/EntityReferenceSelection.php \Drupal\Core\Entity\Annotation\EntityReferenceSelection::entity_types
  4. main core/lib/Drupal/Core/Entity/Annotation/EntityReferenceSelection.php \Drupal\Core\Entity\Annotation\EntityReferenceSelection::entity_types

An array of entity types that can be referenced by this plugin. Defaults to all entity types.

Type: array (optional)

File

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

Class

EntityReferenceSelection
Defines an EntityReferenceSelection plugin annotation object.

Namespace

Drupal\Core\Entity\Annotation

Code

public $entity_types = [];

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