You are here

public function ConfigurableLanguageManagerInterface::setNegotiator in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 37
Contains \Drupal\language\ConfigurableLanguageManagerInterface.

Class

ConfigurableLanguageManagerInterface
Common interface for language negotiation services.

Namespace

Drupal\language

Code

public function setNegotiator(LanguageNegotiatorInterface $negotiator);