You are here

protected function EntityLegalDocument::defaultURI in Entity Legal 7

Same name and namespace in other branches
  1. 7.2 entity_legal.entity.inc \EntityLegalDocument::defaultURI()

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

1 call to EntityLegalDocument::defaultURI()
EntityLegalDocument::uri in ./entity_legal.entity.inc
URI callback.

File

./entity_legal.entity.inc, line 161
Entity API main classes used by entity_legal module.

Class

EntityLegalDocument
Legal Document entity with revision support.

Code

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