1 test_cacheable.entity.inc | public TestCacheable::uri() |
Implements EntityInterface::uri().
Overrides EntityInterface::uri
File
- core/
modules/ entity/ tests/ entity_caching_test/ test_cacheable.entity.inc, line 37 - Test entity classes.
Class
- TestCacheable
- Test class for the test_cacheable entity type.
Code
public function uri() {
return array(
'path' => 'test_cacheable/' . $this->id,
);
}