You are here

public function SessionConfigurationInterface::getOptions in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Session/SessionConfigurationInterface.php \Drupal\Core\Session\SessionConfigurationInterface::getOptions()

Returns a list of options suitable for passing to the session storage.

Parameters

\Symfony\Component\HttpFoundation\Request $request: The request.

Return value

array An associative array of session ini settings.

See also

\Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage::__construct()

1 method overrides SessionConfigurationInterface::getOptions()
SessionConfiguration::getOptions in core/lib/Drupal/Core/Session/SessionConfiguration.php
Returns a list of options suitable for passing to the session storage.

File

core/lib/Drupal/Core/Session/SessionConfigurationInterface.php, line 39

Class

SessionConfigurationInterface
Defines an interface for session configuration generators.

Namespace

Drupal\Core\Session

Code

public function getOptions(Request $request);