Skip to content
Snippets Groups Projects
Commit 8e874d1f authored by oleksandr p.'s avatar oleksandr p. Committed by Viktor Holovachek
Browse files

Resolve #3500209 "Use attributes for"

parent 83faa241
No related branches found
No related tags found
1 merge request!60Resolve #3500209 "Use attributes for"
Pipeline #405676 passed with warnings
......@@ -14,7 +14,7 @@ use Drupal\fapi_validation\Validator;
#[FapiValidationValidator(
id: 'digit',
label: new TranslatableMarkup('Alpha Numeric'),
description: new TranslatableMarkup('Transform input value to digit.'),
description: new TranslatableMarkup('Validates input value based on digit pattern.'),
error_message: 'Use only digits on %field.',
)]
class DigitValidator implements FapiValidationValidatorsInterface {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment