Problem/Motivation
Discovered in #3302800: Core tests need to filter out deprecated themes when looping over all themes we have config in help_topics module that references Seven:
core/modules/help_topics/config/optional/block.block.seven_help_search.yml:theme: seven
This needs to move to Seven itself so we can deprecate and remove Seven from core.
Steps to reproduce
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
| Comment | File | Size | Author |
|---|---|---|---|
| #14 | 3303787-14.patch | 3.32 KB | andypost |
| #14 | interdiff.txt | 807 bytes | andypost |
| #5 | interdiff.txt | 2.39 KB | andypost |
| #2 | 3303787-2.patch | 345 bytes | longwave |
Comments
Comment #2
longwaveTested on 9.5.x with
Logged in as admin and switched the admin theme to Seven. The "Search help" block is correctly placed on /help.
Comment #4
andypostNice
Comment #5
andypostit needs changes in test, this test still fail with
Comment #6
andypostkinda it
Comment #8
gábor hojtsyLooks good IMHO except these two comments and a question :)
module => extension
Is this the best API we have for getting an extension list of $type?
Comment #9
longwaveRe #8.2 I think the only other way would be to pass in the full service name instead of just the type. There is
extension.path.resolverbut that can only give us the filename and not the parsed contents.#3272093: Cache bin names should be set from service tags, not the service name is kinda similar for cache bins. Maybe we need an
extension.listservice collector that can provide the relevant tagged service? (out of scope here, but maybe worth a followup)Comment #10
gábor hojtsyYeah out of scope here. Let's get the code comments fixed and get this in then IMHO :)
Comment #11
ravi.shankar commentedMade changes as per comment #8.
Comment #12
andypostRe #8 there's change record https://www.drupal.org/node/2709919 so all core using this pattern - using substitution for extension type
Comment #13
gábor hojtsyLooks good now :) Thanks a lot!
Comment #14
andypostThe only nit is to add type-hint and BC for new argument if anything using it in contrib/custom
Comment #15
gábor hojtsyThose are great points, thanks!
Comment #17
catchCommitted/pushed to 10.1.x, cherry-picked to 10.0.x and 9.5.x, thanks!