You are here

public function EntityReference_SelectionHandler::getReferencableEntities in Entity reference 7

Return a list of referencable entities.

Return value

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

3 methods override EntityReference_SelectionHandler::getReferencableEntities()
EntityReference_SelectionHandler_Broken::getReferencableEntities in plugins/selection/abstract.inc
Return a list of referencable entities.
EntityReference_SelectionHandler_Generic::getReferencableEntities in plugins/selection/EntityReference_SelectionHandler_Generic.class.php
Implements EntityReferenceHandler::getReferencableEntities().
EntityReference_SelectionHandler_Views::getReferencableEntities in plugins/selection/EntityReference_SelectionHandler_Views.class.php
Implements EntityReferenceHandler::getReferencableEntities().

File

plugins/selection/abstract.inc, line 28
Abstraction of the selection logic of an entity reference field.

Class

EntityReference_SelectionHandler
@file Abstraction of the selection logic of an entity reference field.

Code

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