Issue #3500204: Use attributes for MyCustomValidator plugin
1 unresolved thread
Related to #3500204
Merge request reports
Activity
Filter activity
8 10 9 11 /** 10 12 * Provides a custom validation. 11 * 12 * Field must have JohnDoe as value. 13 * 14 * @FapiValidationValidator( 15 * id = "custom_validator", 16 * error_callback = "processError" 17 * ) 18 13 */ 14 #[FapiValidationValidator( 15 id: 'custom_validator', 16 label: new TranslatableMarkup('Custom Validator'), 17 description: new TranslatableMarkup('Field must have JohnDoe as value.'), 18 error_message: 'processError.',
Please register or sign in to reply