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
#2605956: Port #2605684 to the new KernelTest
Proposed resolution
Remaining tasks
Add IoC injection of the container to replace usage of \Drupal::getContainer()
.
Comments
Comment #4
Mile23Comment #5
dawehnerMeh, this broadens the scope of this issue, which makes it harder to review. IMHO we should always optimize for reviewer time, as this is what we still lack.
Comment #9
Mile23Comment #10
Mile23Performing this change in #2907169: Break KernelTestBase dependency on Simpletest, deprecate stub BC traits
This issue is now part of the change record https://www.drupal.org/node/2943146