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.
Comment | File | Size | Author |
---|---|---|---|
#16 | interdiff_9-16.txt | 2.8 KB | hash6 |
#16 | 3113053-16.patch | 5.74 KB | hash6 |
Comments
Comment #2
Hardik_Patel_12 CreditAttribution: Hardik_Patel_12 at QED42 commentedKindly review a patch.
Comment #3
Hardik_Patel_12 CreditAttribution: Hardik_Patel_12 at QED42 commentedComment #4
Hardik_Patel_12 CreditAttribution: Hardik_Patel_12 at QED42 commentedComment #5
naresh_bavaskarComment #6
naresh_bavaskarAbove patch applied successfully, LGTM
Comment #7
longwaveNeeds work due to all tests failing.
Comment #8
alexpott@naresh_bavaskar - the tests in #2 have completely failed. "Build Successful" is not the same as tests passed :)
I would leave out the stylesheets remove stuff - that needs more work to do properly - and much of this will be done in #3069052: Properly deprecate the stylesheets-remove key from theme info.yml files.
This issue can deal with the removal of \Drupal\Core\Theme\ActiveTheme::$baseThemes
Comment #9
longwaveComment #10
alexpott@longwave you need to remove core/tests/Drupal/KernelTests/Core/Theme/ActiveThemeLegacyTest.php too. It's a good idea to search the codebase for deprecation messages when removing an @trigger_error
Comment #11
hash6 CreditAttribution: hash6 at QED42 commentedComment #12
hash6 CreditAttribution: hash6 at QED42 commentedUpdated the Patch
- Removed the ActiveThemeLegacyTest.php
- Removed the getStyleSheetsRemove() in ActiveTheme.php
Comment #13
hash6 CreditAttribution: hash6 at QED42 commentedComment #14
hash6 CreditAttribution: hash6 at QED42 commentedComment #15
alexpott@hash6 the style sheets remove stuff should be left alone for now there is a separate issue for that - see earlier comments and issue title
Comment #16
hash6 CreditAttribution: hash6 at QED42 commentedComment #17
hash6 CreditAttribution: hash6 at QED42 commentedComment #18
hash6 CreditAttribution: hash6 at QED42 commentedComment #19
hash6 CreditAttribution: hash6 at QED42 commentedComment #20
longwaveThanks for removing the obsolete test.
Comment #21
andypostThere was not much time passed since deprecation so better to replace it with assert()
Comment #22
alexpott@andypost I don't think so - actually constructing your own ActiveTheme object is not really done in contrib.
Committed d57f7eb and pushed to 9.0.x. Thanks!