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 dawehner on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
8.0.x
Introduced in version:
8.0.0-beta11
Issue links:
Description:
In order to not throw deprecated warnings on sites, we should no longer use deprecated APIs.
The following bits changed:
* Dependency injection: https://github.com/symfony/symfony/blob/2.7/UPGRADE-3.0.md#dependencyinj...
This means:
Before
factory_class: ExampleClass
factory_method: someMethod
After
factory: ExampleClass::someMethod
Before
factory_service: some_service
factory_method: someMethod
After
factory: some_service:someMethod
* Routing: https://github.com/symfony/symfony/blob/2.7/UPGRADE-3.0.md#routing
* Validator: https://github.com/symfony/symfony/blob/2.7/UPGRADE-3.0.md#validator
Impacts:
Module developers