LanguageNegotiationMethodBase::$languageManager

The language manager. Type: \Drupal\Core\Language\LanguageManagerInterface File core/modules/language/src/LanguageNegotiationMethodBase.php, line 19 Class LanguageNegotiationMethodBase Base class for language negotiation methods. Namespace Drupal\language Code protected $languageManager;

LanguageNegotiationMethodBase::$currentUser

The current active user. File core/modules/language/src/LanguageNegotiationMethodBase.php, line 33 Class LanguageNegotiationMethodBase Base class for language negotiation methods. Namespace Drupal\language Code protected $currentUser;

LanguageNegotiationMethodBase::$config

The configuration factory. Type: \Drupal\Core\Config\ConfigFactoryInterface File core/modules/language/src/LanguageNegotiationMethodBase.php, line 26 Class LanguageNegotiationMethodBase Base class for language negotiation methods. Namespace Drupal\language Code protected $config;

LanguageNegotiationMethodBase

Base class for language negotiation methods. Hierarchy class \Drupal\language\LanguageNegotiationMethodBase implements LanguageNegotiationMethodInterface File core/modules/language/src/LanguageNegotiationMethodBase.php, line 12 Namespace Drupal\language Members Name Modifiers Type Description LanguageNegotiationMethodBase::$config protected property The configuration factory. LanguageNegotiationMethodBase::$currentUser protected property The current active user.

LanguageNegotiation::$weight

The default weight of the language negotiation plugin. Type: int File core/modules/language/src/Annotation/LanguageNegotiation.php, line 50 Class LanguageNegotiation Defines a language negotiation annotation object. Namespace Drupal\language\Annotation Code public $weight;

LanguageNegotiation::$types

An array of allowed language types. If a language negotiation plugin does not specify which language types it should be used with, it will be available for all the configurable language types. An array of language types, such as the \Drupal\Core\Language\LanguageInterface::TYPE_* constants. Type: string[] File core/modules/language/src/Annotation/LanguageNegotiation.php, line 43 Class LanguageNegotiation Defines a language negotiation annotation object. Namespace Drupal\language\Annotat

LanguageNegotiation::$name

The human-readable name of the language negotiation plugin. Type: \Drupal\Core\Annotation\Translation Related topics Annotation for translatable text Describes how to put translatable UI text into annotations. File core/modules/language/src/Annotation/LanguageNegotiation.php, line 59 Class LanguageNegotiation Defines a language negotiation annotation object. Namespace Drupal\language\Annotation Code public $name;

LanguageNegotiation::$id

The language negotiation plugin ID. Type: string File core/modules/language/src/Annotation/LanguageNegotiation.php, line 30 Class LanguageNegotiation Defines a language negotiation annotation object. Namespace Drupal\language\Annotation Code public $id;

LanguageNegotiation::$description

The description of the language negotiation plugin. Type: \Drupal\Core\Annotation\Translation Related topics Annotation for translatable text Describes how to put translatable UI text into annotations. File core/modules/language/src/Annotation/LanguageNegotiation.php, line 68 Class LanguageNegotiation Defines a language negotiation annotation object. Namespace Drupal\language\Annotation Code public $description;

LanguageNegotiation::$config_route_name

The route pointing to the plugin's configuration page. Type: string File core/modules/language/src/Annotation/LanguageNegotiation.php, line 75 Class LanguageNegotiation Defines a language negotiation annotation object. Namespace Drupal\language\Annotation Code public $config_route_name;