public function ConfigurableLanguageManager::getLanguageConfigOverride in Drupal 9
Same name and namespace in other branches
- 8 core/modules/language/src/ConfigurableLanguageManager.php \Drupal\language\ConfigurableLanguageManager::getLanguageConfigOverride()
- 10 core/modules/language/src/ConfigurableLanguageManager.php \Drupal\language\ConfigurableLanguageManager::getLanguageConfigOverride()
Gets a language config override object.
Parameters
string $langcode: The language code for the override.
string $name: The language configuration object name.
Return value
\Drupal\language\Config\LanguageConfigOverride The language config override object.
Overrides ConfigurableLanguageManagerInterface::getLanguageConfigOverride
File
- core/
modules/ language/ src/ ConfigurableLanguageManager.php, line 451
Class
- ConfigurableLanguageManager
- Overrides default LanguageManager to provide configured languages.
Namespace
Drupal\languageCode
public function getLanguageConfigOverride($langcode, $name) {
return $this->configFactoryOverride
->getOverride($langcode, $name);
}