LanguageNegotiatorInterface::getNegotiationMethodInstance

public LanguageNegotiatorInterface::getNegotiationMethodInstance($method_id)

Returns an instance of the specified language negotiation method.

Parameters

string $method_id: The method identifier.

Return value

\Drupal\language\LanguageNegotiationMethodInterface

File

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

Class

LanguageNegotiatorInterface
Common interface for language negotiation services.

Namespace

Drupal\language

Code

public function getNegotiationMethodInstance($method_id);
doc_Drupal
2016-10-29 09:22:54
Comments
Leave a Comment

Please login to continue.