Closed (fixed)
Project:
Drupal core
Version:
main
Component:
base system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
2 Feb 2026 at 15:26 UTC
Updated:
4 Mar 2026 at 20:10 UTC
Jump to comment: Most recent
There appear to be a low number of deprecations in Drupal/Components so scoping this to the whole folder
Remove all deprecated code targeted for D12. Also uncomment new parameters and typehints per #3570920: [meta] Adjust parameters in interfaces.
Make sure tests pass
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 #3
smustgrave commentedWent ahead and addressed #3570920: [meta] Adjust parameters in interfaces for this folder. Still a very small MR.
Comment #4
smustgrave commentedComment #5
dcam commentedEverything here looks good to me. I grepped
core/lib/Drupal/Component/for "deprecat" and only got back results related to theDeprecationHelperutility, the service container, andSimpleAnnotationReader.I updated the IS to mention that we're also uncommenting the interface parameters and typehints.
Comment #6
mondrakeI think we should also be removing the
%The "(?:Drupal\\Core\\Layout\\LayoutPluginManagerInterface|Drupal\\Core\\Block\\BlockManager)::get(?:Sorted|Grouped)Definitions\(\)" method will require a new "string \$label_key" argument in the next major version of its interface "Drupal\\Component\\Plugin\\CategorizingPluginManagerInterface"%entry from core/.deprecation-ignore.txt.
Comment #7
smustgrave commentedThanks @mondrake forgot to start checking there. Since it was 1 line removed restoring to RTBC
Comment #9
catchApplied a couple of suggestions on the MR to remove phpcs ignores.
Comment #12
smustgrave commentedCan this be marked fixed?
Comment #13
catchYes! Apparently left a tab open. Committed/pushed to main.