3 namespace Drupal\locale;
6 * Static service container wrapper for locale.
11 * Returns the locale configuration manager service.
13 * Use the locale config manager service for creating locale-wrapped typed
14 * configuration objects.
16 * @see \Drupal\Core\TypedData\TypedDataManager::create()
18 * @return \Drupal\locale\LocaleConfigManager
20 public static function config() {
21 return \Drupal::service('locale.config_manager');