Published in Drupal Core 11.3.0
Drupal 11.3 introduces a new capability for module developers: a method that lets you track changes to state values within the lifecycle of a single HTTP request. This enhancement brings better transparency, logging, and security to operations involving state storage.
In this article, we’ll explore what changed, why it matters, and how you can use it.
✅ What’s New
A new method has been added to the Drupal\Core\State\StateInterface: