You are here

public function WriteSafeSessionHandlerInterface::isSessionWritable in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 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 34
Contains \Drupal\Core\Session\WriteSafeSessionHandlerInterface.

Class

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

Namespace

Drupal\Core\Session

Code

public function isSessionWritable();