public function DomainLangHandlerInterface::getNegotiationMethods in Domain Lang 8
Returns the language negotiation methods enabled for a language type.
Parameters
string $type: (optional) The language type. If no type is specified all the method definitions are returned.
Return value
array[] An array of language negotiation method definitions keyed by method id.
1 method overrides DomainLangHandlerInterface::getNegotiationMethods()
- DomainLangHandler::getNegotiationMethods in src/
DomainLangHandler.php - Returns the language negotiation methods enabled for a language type.
File
- src/
DomainLangHandlerInterface.php, line 78
Class
- DomainLangHandlerInterface
- Interface for Domain lang service.
Namespace
Drupal\domain_langCode
public function getNegotiationMethods($type = NULL);