Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
As part of #2850973: ConfigEntityInterface::onDependencyRemoval() called with incorrect dependency list we decided to use dependency
as a noun and dependent
as an adjective for clarity in \Drupal\Core\Config\ConfigManager::getConfigEntitiesToChangeOnDependencyRemoval().
Proposed resolution
Rename method and deprecate old method.
Remaining tasks
User interface changes
None
API changes
Renamed method.
Data model changes
None
Issue fork drupal-2926729
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 #11
bircherI don't know what this is postponed on, we can deprecate methods In minor versions.
Comment #12
joachim CreditAttribution: joachim at Factorial GmbH commentedNeeds work as CI is failing. Looks good otherwise!
Comment #14
bircherah when using
\Drupal::service()
static analyzers fail.Comment #15
daffie CreditAttribution: daffie commentedJust one nitpick.
Comment #16
daffie CreditAttribution: daffie commentedChanged the comment myself.
As it was only a very small comment changed, I feel free to do a review.
All code changes look good.
The 2 methods are deprecated and have deprecation message testing.
The 2 replacement methods have been added.
The testbot does not return any deprecation messages, therefor all instances of use have been replaced.
All references to the 2 replaced methods in comment have been changed.
The IS and the CR are in order.
For me it is RTBC.
Comment #17
alexpottCommitted 4988dcf and pushed to 9.3.x. Thanks!