You are here

public function WriteSafeSessionHandlerInterface::isSessionWritable in Drupal 9

Same name and namespace in other branches
  1. 8 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();