Adopt Drupal core 10.3 config validation infrastructure

Created on 15 October 2023, about 1 year ago
Updated 17 May 2024, 7 months ago

Problem/Motivation

See https://www.drupal.org/node/3373502 β†’ , for the infra that ✨ Add optional validation constraint support to ConfigFormBase Fixed introduced.

That means the CDN module's ValidatableConfigFormBase can be removed.

Note: let's not commit this until πŸ“Œ Introduce a new #config_target Form API property to make it super simple to use validation constraints on simple config forms, and adopt it in several core config forms Fixed landed in 10.2 or 10.2 is tagged and it did not include it.

Steps to reproduce

Proposed resolution

This targets/requires Drupal >=10.3 to be able to use FullyValidatable β€” see #28. While implementing this, it also makes sense to refine/tighten the existing validation constraints.

Remaining tasks

User interface changes

Many validation refinements, with the most obvious one being:

IOW: you won't be able to enable the functionality anymore until a CDN has been configured β€” duh! πŸ˜…

API changes

None.

Data model changes

None.

πŸ“Œ Task
Status

Fixed

Version

5.0

Component

Code

Created by

πŸ‡§πŸ‡ͺBelgium wim leers Ghent πŸ‡§πŸ‡ͺπŸ‡ͺπŸ‡Ί

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024