You are here

public function PasswordPolicyValidation::getErrorMessage in Password Policy 8.3

Output error message.

Return value

string A message representing the error message of the policy's constraints.

File

src/PasswordPolicyValidation.php, line 29

Class

PasswordPolicyValidation
A construct to organize validation of a password policy.

Namespace

Drupal\password_policy

Code

public function getErrorMessage() {
  return $this->error;
}