You are here

public function EntityLegalDocumentVersion::getAcceptances in Entity Legal 7.2

Same name and namespace in other branches
  1. 7 entity_legal.entity.inc \EntityLegalDocumentVersion::getAcceptances()

Get the acceptances for this entity legal document version.

Parameters

bool|object $account: The Drupal user account to check for, or get all acceptances if FALSE.

Return value

array The acceptance entities keyed by acceptance id.

File

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

Class

EntityLegalDocumentVersion
Legal Document entity version class.

Code

public function getAcceptances($account = FALSE) {
  return entity_get_controller($this->entityType)
    ->getAcceptances($this, $account);
}