public function field_validation_unique_validator::token_help in Field Validation 7.2
Provide token help info for error message.
Overrides field_validation_validator::token_help
File
- plugins/
validator/ field_validation_unique_validator.inc, line 159
Class
Code
public function token_help() {
$token_help = parent::token_help();
$token_help += array(
'[count]' => t('Count of duplicate'),
'[existing-entity-label]' => t('The label of the first entity that contains matching data.'),
'[existing-entity-link]' => t('A link to the first entity that contains matching data.'),
);
return $token_help;
}