Same name and namespace in other branches
- 8.9.x 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
An array of entity types that can be referenced by this plugin.
Defaults to all entity types.
This property is optional and it does not need to be declared.
Type: array
File
- core/
lib/ Drupal/ Core/ Entity/ Annotation/ EntityReferenceSelection.php, line 71
Class
- EntityReferenceSelection
- Defines an EntityReferenceSelection plugin annotation object.
Namespace
Drupal\Core\Entity\AnnotationCode
public $entity_types = [];