1.20.x field_test.class.inc public TestFieldEntity::uri()

Implements EntityInterface::uri().

Overrides EntityInterface::uri

File

modules/field/tests/field_test/field_test.class.inc, line 31

Class

TestFieldEntity
Test class for the test_entity entity type.

Code

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