LanguageConfigFactoryOverride::setLanguage

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;
}
doc_Drupal
2016-10-29 09:22:09
Comments
Leave a Comment

Please login to continue.