Hands-on with Drupal configuration validation
This is a follow-up to my DrupalCon Pittsburgh talk. It does not provide an overview of the status nor the progress, but instead it’s hands-on, with 2 live demos to help attendees:
- use Config Inspector to find which config is still missing validation constraints, add it, and observe it catching invalid data — by adding 3 lines of YAML!
- update existing config forms to use validation constraints, including tweaking the validation error message — by adding 6 lines of YAML and copy/pasting 5 lines of PHP!
Each in less than 5 minutes, including the explanation!
In other words: everybody walked out ready to contribute to the DrupalCon sprints on the next day, or to update their own modules.
I’m honored to say that this was voted the 8th most interesting session at DrupalCon Lille!
Video:
Conference:
DrupalCon Lille
Location:
Lille, France
Date:
Oct 19 2023 - 17:15
Duration:
20 minutes
Extra information: