1 EntityReferenceSelectionHandler.inc public EntityReferenceSelectionHandlerBroken::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.

Overrides EntityReferenceSelectionHandlerInterface::getReferencableEntities

File

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

Class

EntityReferenceSelectionHandlerBroken
A null implementation of EntityReferenceSelectionHandler.

Code

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