You are here

public function LanguageConfigFactoryOverrideInterface::setLanguageFromDefault 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::setLanguageFromDefault()

Sets the language to be used in configuration overrides from the default.

Parameters

\Drupal\Core\Language\LanguageDefault $language_default: The default language.

Return value

$this

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

File

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

Class

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

Namespace

Drupal\language\Config

Code

public function setLanguageFromDefault(LanguageDefault $language_default = NULL);