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.
By lexfunk on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
8.x
Introduced in version:
8.0-alpha7
Issue links:
Description:
After #2057869: Provide an alias for 'plugin.manager.entity' called 'entity.manager' we have entity.manager as an alias of plugin.manager.entity. Clean up instances of 'plugin.manager.entity' and replace them with entity.manager.
Example
Before
$container->get('plugin.manager.entity'),
After
plugin.manager.entity
service is replaced with entity.manager
.
$container->get('entity.manager'),
Impacts:
Module developers