public function EntityLegalDocumentVersionInterface::getAcceptances in Entity Legal 3.0.x
Same name and namespace in other branches
- 8.2 src/EntityLegalDocumentVersionInterface.php \Drupal\entity_legal\EntityLegalDocumentVersionInterface::getAcceptances()
- 4.0.x src/EntityLegalDocumentVersionInterface.php \Drupal\entity_legal\EntityLegalDocumentVersionInterface::getAcceptances()
Get the acceptances for this entity legal document version.
Parameters
\Drupal\Core\Session\AccountInterface|null $account: The Drupal user account to check for, or get all acceptances if NULL.
Return value
array The acceptance entities keyed by acceptance id.
1 method overrides EntityLegalDocumentVersionInterface::getAcceptances()
- EntityLegalDocumentVersion::getAcceptances in src/
Entity/ EntityLegalDocumentVersion.php - Get the acceptances for this entity legal document version.
File
- src/
EntityLegalDocumentVersionInterface.php, line 23
Class
- EntityLegalDocumentVersionInterface
- Provides an interface defining a entity legal document version entity.
Namespace
Drupal\entity_legalCode
public function getAcceptances(AccountInterface $account = NULL);