You are here

public function LanguageNegotiationMethodBase::setConfig in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/language/src/LanguageNegotiationMethodBase.php \Drupal\language\LanguageNegotiationMethodBase::setConfig()

Injects the configuration factory.

Parameters

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

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;
}