You are here

public function EntityLegalDocument::getAllVersions in Entity Legal 7

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

Get all versions of this legal document entity.

Return value

array All versions of this legal document entity.

2 calls to EntityLegalDocument::getAllVersions()
EntityLegalDocument::getAcceptances in ./entity_legal.entity.inc
Get the acceptances for this entity legal document revision.
EntityLegalDocument::getVersion in ./entity_legal.entity.inc
Get a version of this document.

File

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

Class

EntityLegalDocument
Legal Document entity with revision support.

Code

public function getAllVersions() {
  return entity_get_controller($this->entityType)
    ->getAllVersions($this);
}