You are here

public function PasswordPolicyValidation::isValid in Password Policy 8.3

Output validation state.

Return value

bool Whether or not the policy has an error.

File

src/PasswordPolicyValidation.php, line 39

Class

PasswordPolicyValidation
A construct to organize validation of a password policy.

Namespace

Drupal\password_policy

Code

public function isValid() {
  return $this->valid;
}