You are here

public function LanguageNegotiationMethodBase::setConfig in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/language/src/LanguageNegotiationMethodBase.php \Drupal\language\LanguageNegotiationMethodBase::setConfig()
  2. 9 core/modules/language/src/LanguageNegotiationMethodBase.php \Drupal\language\LanguageNegotiationMethodBase::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;
}