public function LocaleConfigSubscriber::getLocaleConfigName

Get configuration name for this language.

It will be the same name with a prefix depending on language code: locale.config.LANGCODE.NAME

1 call to LocaleConfigSubscriber::getLocaleConfigName()
LocaleConfigSubscriber::configLoad in drupal/core/modules/locale/lib/Drupal/locale/LocaleConfigSubscriber.php
Override configuration values with localized data.

File

drupal/core/modules/locale/lib/Drupal/locale/LocaleConfigSubscriber.php, line 42
Definition of Drupal\locale\LocaleConfigSubscriber.

Class

LocaleConfigSubscriber
Locale Config helper

Namespace

Drupal\locale

Code

public function getLocaleConfigName($name, $language) {
  return 'locale.config.' . $language->langcode . '.' . $name;
}