You are here

public function PasswordPolicy::getConstraints in Password Policy 8.3

Return the constraints from the policy.

Return value

array The policies constraints.

File

src/Entity/PasswordPolicy.php, line 107

Class

PasswordPolicy
Defines a Password Policy configuration entity class.

Namespace

Drupal\password_policy\Entity

Code

public function getConstraints() {
  return $this->policy_constraints;
}