You are here

public function SelectionBroken::getReferencableEntities in Entity reference 8

Return a list of referencable entities.

Return value

An array of referencable entities, which keys are entity ids and values (safe HTML) labels to be displayed to the user.

Overrides SelectionInterface::getReferencableEntities

File

lib/Drupal/entityreference/Plugin/Type/Selection/SelectionBroken.php, line 36
Definition of Drupal\entityreference\Plugin\entityreference\selection\SelectionBroken.

Class

SelectionBroken
A null implementation of EntityReference_SelectionHandler.

Namespace

Drupal\entityreference\Plugin\Type\Selection

Code

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