function WriteSafeSessionHandlerInterface::isSessionWritable

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/Session/WriteSafeSessionHandlerInterface.php \Drupal\Core\Session\WriteSafeSessionHandlerInterface::isSessionWritable()
  2. 10 core/lib/Drupal/Core/Session/WriteSafeSessionHandlerInterface.php \Drupal\Core\Session\WriteSafeSessionHandlerInterface::isSessionWritable()
  3. 11.x core/lib/Drupal/Core/Session/WriteSafeSessionHandlerInterface.php \Drupal\Core\Session\WriteSafeSessionHandlerInterface::isSessionWritable()

Returns whether or not a session may be written to storage.

Return value

bool TRUE if the session is allowed to be written, FALSE otherwise.

1 method overrides WriteSafeSessionHandlerInterface::isSessionWritable()
WriteSafeSessionHandler::isSessionWritable in core/lib/Drupal/Core/Session/WriteSafeSessionHandler.php
Returns whether or not a session may be written to storage.

File

core/lib/Drupal/Core/Session/WriteSafeSessionHandlerInterface.php, line 27

Class

WriteSafeSessionHandlerInterface
Provides an interface for session handlers where writing can be disabled.

Namespace

Drupal\Core\Session

Code

public function isSessionWritable();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.