You are here

public function LanguageNegotiationMethodInterface::setConfig in Drupal 9

Same name and namespace in other branches
  1. 8 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\language

Code

public function setConfig(ConfigFactoryInterface $config);