Problem/Motivation
Track the steps needed to deprecate extension Settings Tray from core to contrib. See Remove a core extension and move it to a contributed project of the deprecation policy.
The removal of Settings Tray was approved in #3576315: [policy, no patch] Move Settings Tray to a contributed project.
Remaining tasks
- Create a section on Deprecated and obsolete modules and themes to provide recommendations for sites using extension Settings Tray. The recommendations are to include instructions for sites using the extension and for contributed projects that depend on then extension.
- Add the following to the extension info.yml file
- Add
#[IgnoreDeprecations]to all tests in the extension. - Add a change record and include a link the the doc page.
- Deprecate any library that is only used by the extension.
- Do a thorough search of core for any remaining references to the extension. If references are found, outside of the extension, then creates issues to remove the references.
lifecycle: deprecated
lifecycle_link: https://www.drupal.org/node/3223395#s-settings-tray
Release notes snippet
Issue fork drupal-3576669
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:
- 3576669-11-x
changes, plain diff MR !16712
- 3576669-deprecate-settings-tray
changes, plain diff MR !15016
Comments
Comment #3
quietone commentedComment #4
smustgrave commentedBased on how we did telephone assuming a CR is needed here.
Tagged for documentation update as just a reminder to update https://www.drupal.org/node/3223395
Comment #5
quietone commentedChange record added
Comment #6
smustgrave commentedDid this with brute force searching lol
Deleted the module and in phpstorm did a search for settings_tray and settings tray. Only instances were in phpstan-baseline, ignore-deprecations, and MAINTAINERS.
Another bites the dust!
Comment #7
nicxvan commentedI also just pushed up a test branch where I just deleted the module, then I deleted the phpstan references and set phpstan to allow_failure so I could get past it.
https://git.drupalcode.org/project/drupal/-/pipelines/920875
It looks mostly green the only failure is a nightwatch failure but I can't rerun, I think it's random.
Seems like a good way to check.
Comment #9
catchCommitted/pushed to main, thanks!
This needs a backport MR for 11.x
Comment #11
quietone commentedThere was a conflict in SettingsTrayBlockFormTest.php.
Comment #12
smustgrave commentedSeems like a good backport.
Comment #14
catchCommitted/pushed to 11.x, thanks!
Comment #16
quietone commentedPublished the change record
Comment #17
wim leersRemoved exactly one day before its tenth birthday! 🎂