Make the rule application consult the overall setting kill switch

Created on 11 July 2025, 1 day ago

Problem/Motivation

Currently the setting of "Validate alt text on save" is not being used. If this is switched "on" the validation should not happen.

Steps to reproduce

Proposed resolution

Dependency inject the module settings into src/Plugin/Validation/Constraint/AltTextRulesConstraintValidator.php
and skip all validation is the setting is turned off.

The report should be unaffected by this.

Remaining tasks

User interface changes

API changes

Data model changes

✨ Feature request
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States swirt Florida

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024