1 EntityReferenceSelectionHandler.inc public EntityReferenceSelectionHandlerInterface::getReferencableEntities($match = NULL, $match_operator = 'CONTAINS', $limit = 0)

Return a list of referenceable 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.

File

core/modules/entityreference/plugins/selection/EntityReferenceSelectionHandler.inc, line 28
Abstraction of the selection logic of an entity reference field.

Class

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

Code

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