1 EntityReferenceSelectionHandler.inc public EntityReferenceSelectionHandlerBroken::getLabel($entity)

Return the label of a given entity.

Overrides EntityReferenceSelectionHandlerInterface::getLabel

File

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

Class

EntityReferenceSelectionHandlerBroken
A null implementation of EntityReferenceSelectionHandler.

Code

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