Drupal's next leap: configuration validation — it's here!

published on May 19, 2024

This is a follow-up to my DrupalCon Pittsburgh talk from a year prior and the shorter DrupalCon Lille talk. It provides a ~15 minute overview of the status nor the progress, but dedicates the majority to 5 (!!!) live demos to show how to start using config validation today:

  1. use Config Inspector to find which config is still missing validation constraints, add it, and observe it catching invalid data — by adding a few lines of YAML!
  2. adding validation constraints to config schema, and observing them working and being picked up by Config Inspector
  3. update existing config forms to use validation constraints, using the new #config_target
  4. modifying configuration via JSON:API!
  5. last but not least: a Guaranteed-to-Work Recipe, created from scratch, and it refusing to get applied if it results in invalid configuration
Conference: 
DrupalCon Portland 2024
Location: 
Portland, OR, USA
Date: 
May 6 2024 - 15:00
Duration: 
50 minutes