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);
doc_Drupal
2016-10-29 09:41:47
Comments
Leave a Comment

Please login to continue.