You are here

public function EntityLegalDocument::identifier in Entity Legal 7

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

Use the entity name as the identifier.

Overrides Entity::identifier

3 calls to EntityLegalDocument::identifier()
EntityLegalDocument::defaultURI in ./entity_legal.entity.inc
Specifies the default uri, which is picked up by uri() by default.
EntityLegalDocument::getNewVersion in ./entity_legal.entity.inc
Get a new version of this legal document.
EntityLegalDocument::setPublishedVersion in ./entity_legal.entity.inc
Set the published document version.

File

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

Class

EntityLegalDocument
Legal Document entity with revision support.

Code

public function identifier() {
  return $this->name;
}