public function LanguageNegotiationMethodBase::setConfig in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/language/src/LanguageNegotiationMethodBase.php \Drupal\language\LanguageNegotiationMethodBase::setConfig()
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 50 - Contains \Drupal\language\LanguageNegotiationMethodBase.
Class
- LanguageNegotiationMethodBase
- Base class for language negotiation methods.
Namespace
Drupal\languageCode
public function setConfig(ConfigFactoryInterface $config) {
$this->config = $config;
}