By longwave on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
11.0.x
Introduced in version:
11.0.0
Issue links:
Description:
\Symfony\Component\DependencyInjection\ContainerAwareInterface is deprecated in Symfony 6.4 and removed from Symfony 7.0.
\Drupal\Core\DrupalKernelInterface extended ContainerAwareInterface to allow containers to be injected into the kernel. In core this was previously used in kernel tests, but has since been refactored away and the setContainer() method is no longer called.
If you were extending DrupalKernel and injecting or accessing the container directly then you will need to add support directly to your custom kernel class.