Skip to content
Snippets Groups Projects

Issue #3500204: Use attributes for MyCustomValidator plugin

Merged Issue #3500204: Use attributes for MyCustomValidator plugin
1 unresolved thread
1 unresolved thread

Related to #3500204

Merge request reports

Merge train pipeline #405613 passed with warnings

Merge train pipeline passed with warnings for c5c803a9

Code Quality is loading
Test summary results are being parsed

Merged by Viktor HolovachekViktor Holovachek 3 weeks ago (Jan 25, 2025 1:09pm UTC)

Loading

Pipeline #405616 canceled

Pipeline canceled for c5c803a9 on 3.0.x

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
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
Loading