Interface for language negotiation classes.
Hierarchy
- interface \Drupal\language\LanguageNegotiationMethodInterface
File
- core/modules/language/src/LanguageNegotiationMethodInterface.php, line 13
Namespace
Drupal\language
Members
Name | Modifiers | Type | Description |
---|---|---|---|
LanguageNegotiationMethodInterface::getLangcode | public | function | Performs language negotiation. |
LanguageNegotiationMethodInterface::persist | public | function | Notifies the plugin that the language code it returned has been accepted. |
LanguageNegotiationMethodInterface::setConfig | public | function | Injects the configuration factory. |
LanguageNegotiationMethodInterface::setCurrentUser | public | function | Injects the current user. |
LanguageNegotiationMethodInterface::setLanguageManager | public | function | Injects the language manager. |
Please login to continue.