You are here

public function EntityLegalDocument::getNewUserRequirement in Entity Legal 8

Get whether document acceptance is required on signup.

Return value

bool

Overrides EntityLegalDocumentInterface::getNewUserRequirement

File

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

Class

EntityLegalDocument
Defines the 'entity_legal_document' config entity.

Namespace

Drupal\entity_legal\Entity

Code

public function getNewUserRequirement() {
  return $this
    ->get('new_user_requirement');
}