function Letter_Digit_Constraint::getValidationErrorMessage in Password Policy 5
Overrides Character_Constraint::getValidationErrorMessage
File
- constraints/
constraint_letter_digit.php, line 16
Class
Code
function getValidationErrorMessage() {
return t('Password must contain a minimum of %numChars %numbers_or_letters.', array(
'%numChars' => $this->minimumConstraintValue,
'%numbers_or_letters' => format_plural($this->minimumConstraintValue, t('number or letter'), t('numbers or letters')),
));
}