You are here

protected function EntityClass::defaultURI in Entity API 7

Specifies the default uri, which is picked up by uri() by default.

File

tests/entity_test.module, line 159
Test module for the entity API.

Class

EntityClass
Main class for test entities.

Code

protected function defaultURI() {
  return array(
    'path' => 'custom/' . $this
      ->identifier(),
  );
}