function LanguageConfigFactoryOverrideInterface::setLanguage
Same name in other branches
- 9 core/modules/language/src/Config/LanguageConfigFactoryOverrideInterface.php \Drupal\language\Config\LanguageConfigFactoryOverrideInterface::setLanguage()
- 8.9.x core/modules/language/src/Config/LanguageConfigFactoryOverrideInterface.php \Drupal\language\Config\LanguageConfigFactoryOverrideInterface::setLanguage()
- 10 core/modules/language/src/Config/LanguageConfigFactoryOverrideInterface.php \Drupal\language\Config\LanguageConfigFactoryOverrideInterface::setLanguage()
Sets the language to be used in configuration overrides.
Parameters
\Drupal\Core\Language\LanguageInterface $language: The language object used to override configuration data.
Return value
$this
File
-
core/
modules/ language/ src/ Config/ LanguageConfigFactoryOverrideInterface.php, line 29
Class
- LanguageConfigFactoryOverrideInterface
- Defines the interface for a configuration factory language override object.
Namespace
Drupal\language\ConfigCode
public function setLanguage(?LanguageInterface $language = NULL);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.