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.
Follow-up for #1754246: Languages should be configuration entities
Problem/Motivation
Currently language_list()
uses plain config files to read languages. That's implemented to allow this function to operate in maintenance mode (update|upgrade|install) when entity manager is not available
Proposed resolution
Introduce language_names()
to be used in this cases
API changes
API addition
Comments