1 entity_test.entity.inc public TestEntity::uri()
1 field_test.class.inc TestEntity::uri()

Implements EntityInterface::uri().

Overrides EntityInterface::uri

File

core/modules/entity/tests/entity_test/entity_test.entity.inc, line 37
Test entity classes.

Class

TestEntity
Test class for the entity_test entity type.

Code

public function uri() {
  return array(
    'path' => 'test/' . $this->id,
  );
}