You are here

function entity_class_uri in Entity API 7

URI callback that refers to the entity classes uri method.

2 string references to 'entity_class_uri'
Entity::uri in includes/entity.inc
Returns the uri of the entity just as entity_uri().
entity_test_entity_info in tests/entity_test.module
Implements hook_entity_info().

File

./entity.module, line 1157

Code

function entity_class_uri($entity) {
  return $entity
    ->uri();
}