The Needs Review Queue Bot → tested this issue. It either no longer applies to Drupal core, or fails the Drupal core commit checks. Therefore, this issue status is now "Needs work".
Apart from a re-roll or rebase, this issue may need more work to address feedback in the issue or MR comments. To progress an issue, incorporate this feedback as part of the process of updating the issue. This helps other contributors to know what is outstanding.
Consult the Drupal Contributor Guide → to find step-by-step guides for working with issues.
- First commit to issue fork.
- Merge request !5848Resolve #2972153 "Deprecate themehandlerinterfacegetbasethemes and" → (Closed) created by dimitriskr
- Status changed to Needs review
about 1 year ago 8:12pm 17 December 2023 - Status changed to Needs work
about 1 year ago 2:48pm 18 December 2023 - 🇺🇸United States smustgrave
For good practice we should still use the standard issue summary template.
- Status changed to Needs review
about 1 year ago 9:06pm 21 December 2023 - Status changed to Needs work
about 1 year ago 9:52pm 21 December 2023 - 🇺🇸United States smustgrave
Still is tagged for change record updates from a few years back.
- Status changed to Needs review
12 months ago 12:11pm 22 December 2023 - Status changed to Needs work
12 months ago 4:19pm 23 December 2023 - 🇺🇸United States smustgrave
So I think this needs it's own change record.
The current one is published and said it was introduced in 8.7 which isn't the case for this. So methods have been deprecated in 8.7 and no 10.3 I'm just worried that would be confusing.
Will post in slack also.
- 🇳🇿New Zealand quietone
Yes, this should have it's own change record. Any changes to the original change record should be moved to the new one so that the dates and version/branch of each change record is correct.
- Status changed to Needs review
12 months ago 12:53pm 8 January 2024 - Status changed to RTBC
12 months ago 3:20pm 8 January 2024 - 🇺🇸United States smustgrave
Additional CR looks fine, made some tweaks to make it clear when it was deprecated and removed.
- Status changed to Needs review
10 months ago 1:39pm 18 February 2024 - 🇬🇧United Kingdom longwave UK
is deprecated in drupal:10.3.0 and is removed from drupal:12.0.0
What is the reason for keeping this until Drupal 12? We are OK to deprecate in 10.3.0 for removal in 11.0.0, except where we think things might be widely used or difficult to remove, but this one looks straightforward.
- Status changed to Needs work
10 months ago 11:11pm 18 February 2024 - 🇺🇸United States smustgrave
Believe there is a slack discussion around this. But moving to NW as the MR is unmergable.
- First commit to issue fork.
- Status changed to Needs review
10 months ago 4:29am 19 February 2024 - Status changed to Needs work
10 months ago 9:00am 19 February 2024 - Status changed to Needs review
9 months ago 1:09pm 15 March 2024 - First commit to issue fork.
- Status changed to RTBC
9 months ago 4:56pm 15 March 2024 - 🇺🇸United States smustgrave
Applied a simple :void to the test, but deprecation seems correct.
- 🇬🇧United Kingdom longwave UK
Committed and pushed 1e80a22b06 to 11.x and 5e778473f4 to 10.3.x. Thanks!
Also published the change record.
-
longwave →
committed 5e778473 on 10.3.x
Issue #2972153 by dimitriskr, alexpott, smustgrave, andypost,...
-
longwave →
committed 5e778473 on 10.3.x
-
longwave →
committed 1e80a22b on 11.x
Issue #2972153 by dimitriskr, alexpott, smustgrave, andypost,...
-
longwave →
committed 1e80a22b on 11.x
- Status changed to Fixed
9 months ago 5:58pm 15 March 2024 - 🇬🇧United Kingdom longwave UK
Third time lucky, issue credits got swallowed up by d.o somehow.
Automatically closed - issue fixed for 2 weeks with no activity.
- 🇮🇳India nitesh624 Ranchi, India
We are also using this function in our custom module. But after deprecation there are no replacements suggested here.
So Is there any alternate workaround to achieve this? - 🇫🇷France andypost
Before looking for workarounds please consider if you really need this method as it very internal to
ThemeExtensionList::doGetBaseThemes()
which you can decorate/access in a hacky wayBut custom code is not expected to use this method
- 🇮🇳India nitesh624 Ranchi, India
Thanks for reply andy.
Yes for our use case it might be needed as we are creating some predefined block based to the base theme condition inhook_theme_installed()
hook.