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.