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.
Followup for #1788542: Use EntityFormController and EntityListController for image styles.
Convert core/modules/image/css/image.admin.css
call from ImageStyleFormController
into a library.
Comment | File | Size | Author |
---|---|---|---|
#16 | 2049743-image_library-16.patch | 2.62 KB | mondrake |
Comments
Comment #1
Vasiliy Grotov CreditAttribution: Vasiliy Grotov commentedWill work on this on the weekend.
Comment #2
claudiu.cristeaGreat. Thank you! But I still think you should wait for #1788542: Use EntityFormController and EntityListController for image styles to get committed first. There are big form changes there.
Comment #3
Vasiliy Grotov CreditAttribution: Vasiliy Grotov commentedOk, looking forward to #1788542: Use EntityFormController and EntityListController for image styles.
Comment #4
claudiu.cristea@Vasiliy Grotov, as #1788542: Use EntityFormController and EntityListController for image styles is in, you can start with this one :)
I see 2 occurrences:
Comment #5
mondrakeLet's give a try.
Comment #6
mondrakeComment #7
mondrakeComment #8
tim.plunkettWhy this name change? That doesn't fit our standards at all.
Same here.
Also aren't you missing the image.libraries.yml?
Comment #9
mondrakeThanks for review.
1, 2 - OK, reverted. Not sure about the naming of the library elements though, then.
? it was in the patch in #5.
Anyway - new patch here, no interdiff, the patch is just much simpler :)
Comment #10
tim.plunkettThis needs to be image.admin and image.widget
This should be theme, not component
Comment #11
mondrakeThanks. Here we go.
Comment #12
mondrakeSorry.
Comment #13
mondrakeReroll for #2247991: [May 27] Move all module code from …/lib/Drupal/… to …/src/… for PSR-4
Comment #16
mondrakeRerolled
Comment #17
mondrakeComment #18
mondrakeThis has been fixed in #2378095: Convert all remaining attached individual CSS/JS assets to attached asset libraries.