LanguageNegotiatorInterface::getNegotiationMethods

public LanguageNegotiatorInterface::getNegotiationMethods($type = NULL)

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.

File

core/modules/language/src/LanguageNegotiatorInterface.php, line 143

Class

LanguageNegotiatorInterface
Common interface for language negotiation services.

Namespace

Drupal\language

Code

public function getNegotiationMethods($type = NULL);
doc_Drupal
2016-10-29 09:22:55
Comments
Leave a Comment

Please login to continue.