function LanguageNegotiationMethodBase::setConfig

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

Overrides LanguageNegotiationMethodInterface::setConfig

File

core/modules/language/src/LanguageNegotiationMethodBase.php, line 45

Class

LanguageNegotiationMethodBase
Base class for language negotiation methods.

Namespace

Drupal\language

Code

public function setConfig(ConfigFactoryInterface $config) {
    $this->config = $config;
}

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