SessionConfiguration

Defines the default session configuration generator. Hierarchy class \Drupal\Core\Session\SessionConfiguration implements SessionConfigurationInterface File core/lib/Drupal/Core/Session/SessionConfiguration.php, line 10 Namespace Drupal\Core\Session Members Name Modifiers Type Description SessionConfiguration::$options protected property An associative array of session ini settings. SessionConfiguration::drupalValidTestUa protected function Wraps drupal_valid_tes

SessionCacheContext::getLabel

public static SessionCacheContext::getLabel() File core/lib/Drupal/Core/Cache/Context/SessionCacheContext.php, line 17 Class SessionCacheContext Defines the SessionCacheContext service, for "per session" caching. Namespace Drupal\Core\Cache\Context Code public static function getLabel() { return t('Session'); }

SessionConfiguration::$options

An associative array of session ini settings. File core/lib/Drupal/Core/Session/SessionConfiguration.php, line 15 Class SessionConfiguration Defines the default session configuration generator. Namespace Drupal\Core\Session Code protected $options;

Session::$sessionServiceName

The session service name. Type: string File core/lib/Drupal/Core/StackMiddleware/Session.php, line 32 Class Session Wrap session logic around a HTTP request. Namespace Drupal\Core\StackMiddleware Code protected $sessionServiceName;

Session::__construct

public Session::__construct(HttpKernelInterface $http_kernel, $service_name = 'session') Constructs a Session stack middleware object. Parameters \Symfony\Component\HttpKernel\HttpKernelInterface $http_kernel: The decorated kernel. string $service_name: The name of the session service, defaults to "session". File core/lib/Drupal/Core/StackMiddleware/Session.php, line 42 Class Session Wrap session logic around a HTTP request. Namespace Drupal\Core\StackMiddleware Code public function _

Session::$httpKernel

The wrapped HTTP kernel. Type: \Symfony\Component\HttpKernel\HttpKernelInterface File core/lib/Drupal/Core/StackMiddleware/Session.php, line 25 Class Session Wrap session logic around a HTTP request. Namespace Drupal\Core\StackMiddleware Code protected $httpKernel;

Session

Wrap session logic around a HTTP request. Note, the session service is not injected into this class in order to prevent premature initialization of session storage (database). Instead the session service is retrieved from the container only when handling the request. Hierarchy class \Drupal\Core\StackMiddleware\Session implements HttpKernelInterface uses ContainerAwareTrait File core/lib/Drupal/Core/StackMiddleware/Session.php, line 16 Namespace Drupal\Core\StackMiddleware Members Nam

Session::handle

public Session::handle(Request $request, $type = self::MASTER_REQUEST, $catch = TRUE) Handles a Request to convert it to a Response. When $catch is true, the implementation must catch all exceptions and do its best to convert them to a Response instance. Parameters Request $request A Request instance: int $type The type of the request: (one of HttpKernelInterface::MASTER_REQUEST or HttpKernelInterface::SUB_REQUEST) bool $catch Whether to catch exceptions or not: Return value Response A Respon

ServiceProviderInterface

Interface that all service providers must implement. Hierarchy interface \Drupal\Core\DependencyInjection\ServiceProviderInterface Related topics Services and Dependency Injection Container Overview of the Dependency Injection Container and Services. File core/lib/Drupal/Core/DependencyInjection/ServiceProviderInterface.php, line 10 Namespace Drupal\Core\DependencyInjection Members Name Modifiers Type Description ServiceProviderInterface::register public function Regis

ServiceProviderInterface::register

public ServiceProviderInterface::register(ContainerBuilder $container) Registers services to the container. Parameters ContainerBuilder $container: The ContainerBuilder to register services to. File core/lib/Drupal/Core/DependencyInjection/ServiceProviderInterface.php, line 18 Class ServiceProviderInterface Interface that all service providers must implement. Namespace Drupal\Core\DependencyInjection Code public function register(ContainerBuilder $container);