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);
Please login to continue.