public function SelectionInterface::getReferenceableEntities

public SelectionInterface::getReferenceableEntities($match = NULL, $match_operator = 'CONTAINS', $limit = 0)

Gets the list of referenceable entities.

Return value

array A nested array of entities, the first level is keyed by the entity bundle, which contains an array of entity labels (escaped), keyed by the entity ID.

File

core/lib/Drupal/Core/Entity/EntityReferenceSelection/SelectionInterface.php, line 25

Class

SelectionInterface
Interface definition for Entity Reference Selection plugins.

Namespace

Drupal\Core\Entity\EntityReferenceSelection

Code

public function getReferenceableEntities($match = NULL, $match_operator = 'CONTAINS', $limit = 0);

© 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!EntityReferenceSelection!SelectionInterface.php/function/SelectionInterface::getReferenceableEntities/8.1.x