function entity_class_label

7.x entity.module entity_class_label($entity)

Label callback that refers to the entity classes label method.

2 string references to 'entity_class_label'
Entity::label in entity/includes/entity.inc
Returns the label of the entity.
entity_test_entity_info in entity/tests/entity_test.module
Implements hook_entity_info().

File

entity/entity.module, line 1133
Module file for the entity API.

Code

function entity_class_label($entity) {
  return $entity->label();
}