1 | <?php |
||
18 | class LanguageNegotiationGraphQL extends LanguageNegotiationMethodBase { |
||
19 | |||
20 | /** |
||
21 | * The language negotiation method id. |
||
22 | */ |
||
23 | const METHOD_ID = 'language-graphql'; |
||
24 | |||
25 | /** |
||
26 | * The current langcode. |
||
27 | * |
||
28 | * @var string|null |
||
29 | */ |
||
30 | protected static $currentLangcode; |
||
31 | |||
32 | /** |
||
33 | * Set the current context language. |
||
34 | * |
||
35 | * @param string $langcode |
||
36 | * The language to be set. |
||
37 | */ |
||
38 | public static function setCurrentLanguage($langcode) { |
||
42 | |||
43 | /** |
||
44 | * Unset the current language. |
||
45 | */ |
||
46 | public static function unsetCurrentLanguage() { |
||
49 | |||
50 | /** |
||
51 | * {@inheritdoc} |
||
52 | */ |
||
53 | public function getLangcode(Request $request = NULL) { |
||
56 | |||
57 | } |
||
58 |