Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
When you save a view, for example via the UI saving OR via config/entity API, you want to act upon saving.
One example is #2341357: Views entity area config is not deployable and missing dependencies which would like to be able to convert the ID to a UUID.
Proposed resolution
Add a new method views/PluginBase::preSave() and call that from the top to the bottom layer in views.
Remaining tasks
User interface changes
API changes
Comment | File | Size | Author |
---|---|---|---|
#1 | 2390773-1.patch | 1.96 KB | dawehner |
Comments
Comment #1
dawehnerit would be nice, ... here is a skeleton, but not needed for the critical