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.
Updated: Comment #N
Problem/Motivation
We have duplicated code in all 6 handler types for broken handlers. They all add the same - basically a default form and label containing details about the missing handler.
Proposed resolution
Use a trait for all of these instead. Then we only need to maintain the code in one place and not 6 - win.
Remaining tasks
User interface changes
None
API changes
None
Comment | File | Size | Author |
---|---|---|---|
#3 | interdiff-2206809-3.txt | 2.01 KB | damiankloip |
#3 | 2206809-3.patch | 18.6 KB | damiankloip |
Comments
Comment #2
damiankloip CreditAttribution: damiankloip commentedvdc.BrokenHandlerTrait.patch queued for re-testing.
ImagefieldDisplayTest strikes again.
Comment #3
damiankloip CreditAttribution: damiankloip commentedUpdated docs
Comment #4
dawehnerAwesome!!!
Comment #5
catchVery nice. Committed/pushed to 8.x, thanks!
Comment #7
YesCT CreditAttribution: YesCT commented