You are here

constant LanguageNegotiationSession::METHOD_ID in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/language/src/Plugin/LanguageNegotiation/LanguageNegotiationSession.php \Drupal\language\Plugin\LanguageNegotiation\LanguageNegotiationSession::METHOD_ID

The language negotiation method id.

File

core/modules/language/src/Plugin/LanguageNegotiation/LanguageNegotiationSession.php, line 50

Class

LanguageNegotiationSession
Identify language from a request/session parameter.

Namespace

Drupal\language\Plugin\LanguageNegotiation

Code

const METHOD_ID = 'language-session';