public LanguageConfigFactoryOverride::setLanguage(LanguageInterface $language = NULL)
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
Overrides LanguageConfigFactoryOverrideInterface::setLanguage
File
- core/modules/language/src/Config/LanguageConfigFactoryOverride.php, line 136
Class
- LanguageConfigFactoryOverride
- Provides language overrides for the configuration factory.
Namespace
Drupal\language\Config
Code
public function setLanguage(LanguageInterface $language = NULL) { $this->language = $language; return $this; }
Please login to continue.