You are here

public function CivicrmContactSelection::getReferenceableEntities in CiviCRM Entity 8.3

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.

Overrides DefaultSelection::getReferenceableEntities

File

src/Plugin/EntityReferenceSelection/CivicrmContactSelection.php, line 29

Class

CivicrmContactSelection
Provides specific access control for the civicrm_contact entity type.

Namespace

Drupal\civicrm_entity\Plugin\EntityReferenceSelection

Code

public function getReferenceableEntities($match = NULL, $match_operator = 'CONTAINS', $limit = 0) {
  return parent::getReferenceableEntities($match, '=', $limit);
}