Problem/Motivation
Once the rule entity is created, #3495141: Add custom field for alt text validation rules to settings form add a validator that will run all the rules against the submitted value.
acceptance criteria
- do not perform validation if all validation is disabled
- process all the rules and return all of the compiled error notices, so that is does not just show the first error
- pass validation if only "warn" rules are triggered, but show a warning notification
Issue fork alt_text_validation-3495175
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
swirtComment #3
swirtComment #4
swirtComment #7
swirtI am calling this functionally complete. The validation of Rules works. The messages need some UX improvement but the functionality works. This even has test coverage for the rules.