LanguageNegotiatorInterface::getPrimaryNegotiationMethod

public LanguageNegotiatorInterface::getPrimaryNegotiationMethod($type)

Returns the ID of the language type's primary language negotiation method.

Parameters

string $type: The language type.

Return value

string The identifier of the primary language negotiation method for the given language type, or the default method if none exists.

File

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

Class

LanguageNegotiatorInterface
Common interface for language negotiation services.

Namespace

Drupal\language

Code

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

Please login to continue.