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 plach on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
8.x
Issue links:
Description:
In Drupal 7 hook_language_init()
was used to act right after language was intialized. The main use case for this was overriding configuration settings with localized versions.
In Drupal 8 to provide multilingual settings we have contextual overrides (see #1763640: Introduce config context to make original config and different overrides accessible). There is no facility anymore to hook into the end of language initialisation.
Impacts:
Module developers