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.
DevelController is quite a messy and contains a lot of methods, used for different functionalities. We should move each different functionality (when it make sense) in a dedicated controller.
The attached patch:
- moves element info method in a dedicated controller
- uniforms the output of the page (currently a raw dump) to the other devel functionalities (see screenshot)
- allow to open the element detail in a modal instead of open it in a new page (see screenshot)
- adds test coverage
Comment | File | Size | Author |
---|---|---|---|
#2 | move_element_info-2896727-2.patch | 11.74 KB | willzyx |
| |||
detail-output.png | 168.92 KB | willzyx | |
page-output.png | 130.48 KB | willzyx |
Comments
Comment #2
willzyx CreditAttribution: willzyx commentedComment #3
moshe weitzman CreditAttribution: moshe weitzman at Acquia commentedThanks for adding test coverage.
Comment #5
willzyx CreditAttribution: willzyx commentedPushed and committed to 8.x