Problem/Motivation
See #3278331: [Meta] Tasks to remove Seven from core and move to contrib and #3278212: [Meta] Tasks to deprecate Seven.
Seven will be deprecated in 9.5.x for removal in 10.0.x, this issue should handle the actual removal from core itself.
Steps to reproduce
Proposed resolution
Remaining tasks
The change record for this issue should include a link to recommendations page, https://www.drupal.org/node/3223395#s-MODULE_NAME. (For example, the CR for removing HAL)Tag this issue 'Needs release note.'- Remove the module ;-).
- Remove references from core/phpstan-baseline.neon.
- Check for references in @todo.
Handle migration tests.In all the functional tests in migrate_drupal_ui make sure that MODULE_NAME is not installed. MODULE_NAME should also be removed from the methods getAvailablePaths() and moved to getMissingPaths() in the tests using those methods.
User interface changes
API changes
Data model changes
Release notes snippet
The Seven theme has been removed from Drupal core and is now available as a contributed theme. Sites using Seven should install the contributed version or switch to a different administration theme such as the new core admin theme, Claro.
Issue fork drupal-3304285
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #4
longwaveFirst pass, did not regenerate the dictionary yet.
Comment #5
longwaveClaro references Seven in a comment, in CSS that supports IE11 - this will be removed in #3254202: Remove IE11 Support from Claro
Comment #6
quietone commentedParenting, adding remaining tasks.
Comment #7
quietone commentedAdded change record.
I don't expect any changes to migration tests and I see that none are failing in the test results.
I am updating the IS with the above.
Comment #8
quietone commentedfound two instances of Seven in @todos.
For the first one I did another search,
$grep -riI -A2 --exclude-dir="seven" seven_preprocess coreand got a screenful of matches.Comment #9
quietone commentedformatting fix
Comment #10
catchI think we can just update the @todo to say Claro here. Wouldn't hurt to check if there's an issue to do it.
Comment #11
quietone commentedFor the first grep result in #8, there is an existing issue, #3156739: Address @todo in claro_preprocess_fieldset__media_library_widget, so we can leave that one alone.
The second one, I did not find a duplicate. #10 is a good solution.
Comment #12
catchJust committed #3084814: Deprecate Seven theme so this issue is officially unblocked.
There's no strict dependency between this issue and #3304256: Remove Bartik from Drupal core, however there is between #3270899: Remove Color module from core and Bartik removal. Ideally we'd get the Bartik deprecation in asap due to the color module support, so it might be worth unofficially postponing this until the Bartik issue lands to minimise re-rolls in either direction.
Adding a release note.
Comment #13
bbralaComment #14
bbralaComment #16
bbralaI did a little rebase, mostly just string changes and missing files since bartik is no longer in core.
I notices a few files we missed changing i think:
A reference to a seven hook.
node-edit-form.html.twig: @see seven_form_node_form_alter()A reference to seven in shortcut.module
A reference to the testtheme subseven in the dictionary.
distionary.txt: subsevenComment #17
longwaveRebased again, fixed the build by removing empty files, addressed #16, fixed another few comments.
Comment #18
catchLooks like one more bit of bartik to clean up in the MR.
Comment #20
ravi.shankar commentedTried to address comment #18, and removed empty files from the Bartik theme, please review.
Comment #21
longwaveThanks @ravi.shankar.
The test fails are due to some code deleted in
WebAssert::buildStatusMessageSelector()which previously referenced Bartik and Seven, but the same applies to Stark, so I reinstated it.Comment #22
phenaproximaExcept for the one suggestion from Wim, I checked this branch out and did the following:
find . -name '*seven*'Nothing found!
grep -irn '*seven*' .Nothing found here either!
That's about as complete a removal from core as I can fathom. So once Wim's suggestion is implemented, I guess this is RTBC.
Comment #23
longwaveRebased and simplified
DbUpdateNegotiator::determineActiveTheme().Comment #24
phenaproximaI'm not sure what else there is to do here. Let's knock it out.
Comment #27
catchCommitted/pushed to 10.1.x and cherry-picked to 10.0.x, thanks!
Comment #28
catch