You are here

public function SelectionInterface::getReferenceableEntities in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Entity/EntityReferenceSelection/SelectionInterface.php \Drupal\Core\Entity\EntityReferenceSelection\SelectionInterface::getReferenceableEntities()

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.

3 methods override SelectionInterface::getReferenceableEntities()
Broken::getReferenceableEntities in core/lib/Drupal/Core/Entity/Plugin/EntityReferenceSelection/Broken.php
Gets the list of referenceable entities.
DefaultSelection::getReferenceableEntities in core/lib/Drupal/Core/Entity/Plugin/EntityReferenceSelection/DefaultSelection.php
Gets the list of referenceable entities.
ViewsSelection::getReferenceableEntities in core/modules/views/src/Plugin/EntityReferenceSelection/ViewsSelection.php
Gets the list of referenceable entities.

File

core/lib/Drupal/Core/Entity/EntityReferenceSelection/SelectionInterface.php, line 30
Contains \Drupal\Core\Entity\EntityReferenceSelection\SelectionInterface.

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);