EntityReferenceSelection::$entity_types
Same name and namespace in other branches
- 11.x core/lib/Drupal/Core/Entity/Annotation/EntityReferenceSelection.php \Drupal\Core\Entity\Annotation\EntityReferenceSelection::entity_types
- 10 core/lib/Drupal/Core/Entity/Annotation/EntityReferenceSelection.php \Drupal\Core\Entity\Annotation\EntityReferenceSelection::entity_types
- 9 core/lib/Drupal/Core/Entity/Annotation/EntityReferenceSelection.php \Drupal\Core\Entity\Annotation\EntityReferenceSelection::entity_types
- 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\AnnotationCode
public $entity_types = [];
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.