You are here

public function CerPresetSelectionHandler::getLabel in Corresponding Entity References 7.3

Return the label of a given entity.

Overrides EntityReference_SelectionHandler::getLabel

File

extensions/cer_entity_settings/plugins/entityreference/selection/CerPresetSelectionHandler.class.php, line 53

Class

CerPresetSelectionHandler

Code

public function getLabel($entity) {
  return entity_label('cer', $entity);
}