You are here

public function EntityLegalDocument::getExistingUserRequirement in Entity Legal 8

Get whether document acceptance is required by existing users.

Return value

bool

Overrides EntityLegalDocumentInterface::getExistingUserRequirement

File

src/Entity/EntityLegalDocument.php, line 78
Contains \Drupal\entity_legal\Entity\EntityLegalDocument.

Class

EntityLegalDocument
Defines the 'entity_legal_document' config entity.

Namespace

Drupal\entity_legal\Entity

Code

public function getExistingUserRequirement() {
  return $this
    ->get('existing_user_requirement');
}