You are here

public function EntityInterface::label in Entity API 7

Returns the label of the entity.

Modules may alter the label by specifying another 'label callback' using hook_entity_info_alter().

See also

entity_label()

1 method overrides EntityInterface::label()
Entity::label in includes/entity.inc
Returns the label of the entity.

File

includes/entity.inc, line 71
Provides a base class for entities.

Class

EntityInterface
Interface for class based entities.

Code

public function label();