LanguageNegotiationMethodBase::setConfig

public LanguageNegotiationMethodBase::setConfig(ConfigFactoryInterface $config)

Injects the configuration factory.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: 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;
}
doc_Drupal
2016-10-29 09:22:46
Comments
Leave a Comment

Please login to continue.