public function ConfigurableLanguageManagerInterface::getNegotiatedLanguageMethod in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/language/src/ConfigurableLanguageManagerInterface.php \Drupal\language\ConfigurableLanguageManagerInterface::getNegotiatedLanguageMethod()
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.
1 method overrides ConfigurableLanguageManagerInterface::getNegotiatedLanguageMethod()
- ConfigurableLanguageManager::getNegotiatedLanguageMethod in core/
modules/ language/ src/ ConfigurableLanguageManager.php - Gets the negotiated language method ID.
File
- core/
modules/ language/ src/ ConfigurableLanguageManagerInterface.php, line 109 - Contains \Drupal\language\ConfigurableLanguageManagerInterface.
Class
- ConfigurableLanguageManagerInterface
- Common interface for language negotiation services.
Namespace
Drupal\languageCode
public function getNegotiatedLanguageMethod($type = LanguageInterface::TYPE_INTERFACE);