You are here

public function LanguageConfigFactoryOverrideInterface::setLanguage in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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

1 method overrides LanguageConfigFactoryOverrideInterface::setLanguage()
LanguageConfigFactoryOverride::setLanguage in core/modules/language/src/Config/LanguageConfigFactoryOverride.php
Sets the language to be used in configuration overrides.

File

core/modules/language/src/Config/LanguageConfigFactoryOverrideInterface.php, line 35
Contains \Drupal\language\Config\LanguageConfigFactoryOverrideInterface.

Class

LanguageConfigFactoryOverrideInterface
Defines the interface for a configuration factory language override object.

Namespace

Drupal\language\Config

Code

public function setLanguage(LanguageInterface $language = NULL);