function SessionConfigurationInterface::getOptions
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Session/SessionConfigurationInterface.php \Drupal\Core\Session\SessionConfigurationInterface::getOptions()
- 10 core/lib/Drupal/Core/Session/SessionConfigurationInterface.php \Drupal\Core\Session\SessionConfigurationInterface::getOptions()
- 11.x 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\SessionCode
public function getOptions(Request $request);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.