function LanguageNegotiationMethodInterface::setConfig

Same name in other branches
  1. 9 core/modules/language/src/LanguageNegotiationMethodInterface.php \Drupal\language\LanguageNegotiationMethodInterface::setConfig()
  2. 10 core/modules/language/src/LanguageNegotiationMethodInterface.php \Drupal\language\LanguageNegotiationMethodInterface::setConfig()
  3. 11.x core/modules/language/src/LanguageNegotiationMethodInterface.php \Drupal\language\LanguageNegotiationMethodInterface::setConfig()

Injects the configuration factory.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config: The configuration factory.

1 method overrides LanguageNegotiationMethodInterface::setConfig()
LanguageNegotiationMethodBase::setConfig in core/modules/language/src/LanguageNegotiationMethodBase.php
Injects the configuration factory.

File

core/modules/language/src/LanguageNegotiationMethodInterface.php, line 30

Class

LanguageNegotiationMethodInterface
Interface for language negotiation classes.

Namespace

Drupal\language

Code

public function setConfig(ConfigFactoryInterface $config);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.