You are here

protected function Log::defaultUri in Log entity 7

Override this in order to implement a custom default URI and specify 'entity_class_uri' as 'uri callback' hook_entity_info().

Overrides Entity::defaultUri

File

./log.class.inc, line 28
Log classes.

Class

Log
Log class.

Code

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