public LanguageConfigFactoryOverride::installLanguageOverrides($langcode)
Installs available language configuration overrides for a given langcode.
Parameters
string $langcode: Language code.
Overrides LanguageConfigFactoryOverrideInterface::installLanguageOverrides
File
- core/modules/language/src/Config/LanguageConfigFactoryOverride.php, line 152
Class
- LanguageConfigFactoryOverride
- Provides language overrides for the configuration factory.
Namespace
Drupal\language\Config
Code
public function installLanguageOverrides($langcode) { /** @var \Drupal\Core\Config\ConfigInstallerInterface $config_installer */ $config_installer = \Drupal::service('config.installer'); $config_installer->installCollectionDefaultConfig($this->createConfigCollectionName($langcode)); }
Please login to continue.