W3cubDocs

/Drupal 8

public property 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 63

Class

EntityReferenceSelection
Defines an EntityReferenceSelection plugin annotation object.

Namespace

Drupal\Core\Entity\Annotation

Code

public $entity_types = array();

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Entity!Annotation!EntityReferenceSelection.php/property/EntityReferenceSelection::entity_types/8.1.x