public function ConfigurableLanguageManager::getLanguageConfigOverride in Zircon Profile 8
Same name and namespace in other branches
- 8.0 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 - Contains \Drupal\language\ConfigurableLanguageManager.
Class
- ConfigurableLanguageManager
- Overrides default LanguageManager to provide configured languages.
Namespace
Drupal\languageCode
public function getLanguageConfigOverride($langcode, $name) {
return $this->configFactoryOverride
->getOverride($langcode, $name);
}