LanguageNegotiator::$requestStack

The request stack object. Type: \Symfony\Component\HttpFoundation\RequestStack File core/modules/language/src/LanguageNegotiator.php, line 50 Class LanguageNegotiator Class responsible for performing language negotiation. Namespace Drupal\language Code protected $requestStack;

LanguageNegotiator::$negotiatorManager

The language negotiation method plugin manager. Type: \Drupal\Component\Plugin\PluginManagerInterface File core/modules/language/src/LanguageNegotiator.php, line 22 Class LanguageNegotiator Class responsible for performing language negotiation. Namespace Drupal\language Code protected $negotiatorManager;

LanguageNegotiator::$negotiatedLanguages

An array of language objects keyed by method id. Type: \Drupal\Core\Language\LanguageInterface[] File core/modules/language/src/LanguageNegotiator.php, line 71 Class LanguageNegotiator Class responsible for performing language negotiation. Namespace Drupal\language Code protected $negotiatedLanguages = array();

LanguageNegotiator::$methods

Local cache for language negotiation method instances. Type: array File core/modules/language/src/LanguageNegotiator.php, line 64 Class LanguageNegotiator Class responsible for performing language negotiation. Namespace Drupal\language Code protected $methods;

LanguageNegotiator::$languageManager

The language manager. Type: \Drupal\language\ConfigurableLanguageManagerInterface File core/modules/language/src/LanguageNegotiator.php, line 29 Class LanguageNegotiator Class responsible for performing language negotiation. Namespace Drupal\language Code protected $languageManager;

LanguageNegotiator::$currentUser

The current active user. File core/modules/language/src/LanguageNegotiator.php, line 57 Class LanguageNegotiator Class responsible for performing language negotiation. Namespace Drupal\language Code protected $currentUser;

LanguageNegotiator::$configFactory

The configuration factory. Type: \Drupal\Core\Config\ConfigFactoryInterface File core/modules/language/src/LanguageNegotiator.php, line 36 Class LanguageNegotiator Class responsible for performing language negotiation. Namespace Drupal\language Code protected $configFactory;

LanguageNegotiator

Class responsible for performing language negotiation. Hierarchy class \Drupal\language\LanguageNegotiator implements LanguageNegotiatorInterface File core/modules/language/src/LanguageNegotiator.php, line 15 Namespace Drupal\language Members Name Modifiers Type Description LanguageNegotiator::$configFactory protected property The configuration factory. LanguageNegotiator::$currentUser protected property The current active user. LanguageNegotiator::$languageMan

LanguageNegotiationMethodManager::__construct

public LanguageNegotiationMethodManager::__construct(\Traversable $namespaces, CacheBackendInterface $cache_backend, ModuleHandlerInterface $module_handler) Constructs a new LanguageNegotiationMethodManager object. Parameters \Traversable $namespaces: An object that implements \Traversable which contains the root paths keyed by the corresponding namespace to look for plugin implementations. \Drupal\Core\Cache\CacheBackendInterface $cache_backend: An object that implements CacheBackendInterface

LanguageNegotiationMethodManager

Manages language negotiation methods. Hierarchy class \Drupal\Component\Plugin\PluginManagerBase implements PluginManagerInterface uses DiscoveryTraitclass \Drupal\Core\Plugin\DefaultPluginManager implements CachedDiscoveryInterface, PluginManagerInterface, CacheableDependencyInterface uses DiscoveryCachedTrait, UseCacheBackendTraitclass \Drupal\language\LanguageNegotiationMethodManager File core/modules/language/src/LanguageNegotiationMethodManager.php, line 12 Namespace Drupal\langua