public static function LocaleConfigManager::localeConfigName

Provides configuration data location for given langcode and name.

Parameters

string $langcode: The language code.

string|NULL $name: Name of the original configuration. Set to NULL to get the name prefix for all $langcode overrides.

Return value

string

3 calls to LocaleConfigManager::localeConfigName()
LocaleConfigManager::deleteLanguageTranslations in drupal/core/modules/locale/lib/Drupal/locale/LocaleConfigManager.php
Deletes configuration for language.
LocaleConfigManager::deleteTranslationData in drupal/core/modules/locale/lib/Drupal/locale/LocaleConfigManager.php
Deletes translated configuration data.
LocaleConfigManager::saveTranslationData in drupal/core/modules/locale/lib/Drupal/locale/LocaleConfigManager.php
Saves translated configuration data.

File

drupal/core/modules/locale/lib/Drupal/locale/LocaleConfigManager.php, line 293
Contains \Drupal\locale\LocaleConfigManager.

Class

LocaleConfigManager
Manages localized configuration type plugins.

Namespace

Drupal\locale

Code

public static function localeConfigName($langcode, $name = NULL) {
  return rtrim('locale.config.' . $langcode . '.' . $name, '.');
}