function WriteSafeSessionHandlerInterface::isSessionWritable

Same name in other branches
  1. 9 core/lib/Drupal/Core/Session/WriteSafeSessionHandlerInterface.php \Drupal\Core\Session\WriteSafeSessionHandlerInterface::isSessionWritable()
  2. 8.9.x 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.

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.