ConfigurableLanguageManagerInterface::getNegotiatedLanguageMethod

public ConfigurableLanguageManagerInterface::getNegotiatedLanguageMethod($type = LanguageInterface::TYPE_INTERFACE)

Gets the negotiated language method ID.

Parameters

string $type: (optional) The language type; e.g., the interface or the content language.

Return value

string The negotiated language method ID.

File

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

Class

ConfigurableLanguageManagerInterface
Common interface for language negotiation services.

Namespace

Drupal\language

Code

public function getNegotiatedLanguageMethod($type = LanguageInterface::TYPE_INTERFACE);
doc_Drupal
2016-10-29 08:55:20
Comments
Leave a Comment

Please login to continue.