You are here

public function ConfigurableLanguageManagerInterface::setNegotiator in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/language/src/ConfigurableLanguageManagerInterface.php \Drupal\language\ConfigurableLanguageManagerInterface::setNegotiator()

Injects the language negotiator.

Parameters

\Drupal\language\LanguageNegotiatorInterface $negotiator: The language negotiator.

1 method overrides ConfigurableLanguageManagerInterface::setNegotiator()
ConfigurableLanguageManager::setNegotiator in core/modules/language/src/ConfigurableLanguageManager.php
Injects the language negotiator.

File

core/modules/language/src/ConfigurableLanguageManagerInterface.php, line 32

Class

ConfigurableLanguageManagerInterface
Common interface for language negotiation services.

Namespace

Drupal\language

Code

public function setNegotiator(LanguageNegotiatorInterface $negotiator);