function LanguageNegotiationMethodInterface::setConfig
Same name in other branches
- 9 core/modules/language/src/LanguageNegotiationMethodInterface.php \Drupal\language\LanguageNegotiationMethodInterface::setConfig()
- 8.9.x core/modules/language/src/LanguageNegotiationMethodInterface.php \Drupal\language\LanguageNegotiationMethodInterface::setConfig()
- 10 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\languageCode
public function setConfig(ConfigFactoryInterface $config);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.