LanguageNegotiationMethodBase

Base class for language negotiation methods.

Hierarchy

File

core/modules/language/src/LanguageNegotiationMethodBase.php, line 12

Namespace

Drupal\language

Members

Name Modifiers Type Description
LanguageNegotiationMethodBase::$config protected property The configuration factory.
LanguageNegotiationMethodBase::$currentUser protected property The current active user.
LanguageNegotiationMethodBase::$languageManager protected property The language manager.
LanguageNegotiationMethodBase::persist public function Notifies the plugin that the language code it returned has been accepted. Overrides LanguageNegotiationMethodInterface::persist
LanguageNegotiationMethodBase::setConfig public function Injects the configuration factory. Overrides LanguageNegotiationMethodInterface::setConfig
LanguageNegotiationMethodBase::setCurrentUser public function Injects the current user. Overrides LanguageNegotiationMethodInterface::setCurrentUser
LanguageNegotiationMethodBase::setLanguageManager public function Injects the language manager. Overrides LanguageNegotiationMethodInterface::setLanguageManager
LanguageNegotiationMethodInterface::getLangcode public function Performs language negotiation.
doc_Drupal
2016-10-29 09:22:46
Comments
Leave a Comment

Please login to continue.