You are here

function entity_class_label in Entity API 7

Label callback that refers to the entity classes label method.

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

File

./entity.module, line 1150

Code

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