You are here

function Uppercase_Constraint::getValidationErrorMessage in Password Policy 5

Overrides Letter_Constraint::getValidationErrorMessage

File

constraints/constraint_uppercase.php, line 16

Class

Uppercase_Constraint

Code

function getValidationErrorMessage() {
  return t('Password must contain a minimum of %numChars uppercase %characters.', array(
    '%numChars' => $this->minimumConstraintValue,
    '%characters' => format_plural($this->minimumConstraintValue, t('character'), t('characters')),
  ));
}