WriteSafeSessionHandler::isSessionWritable

public WriteSafeSessionHandler::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.

Overrides WriteSafeSessionHandlerInterface::isSessionWritable

File

core/lib/Drupal/Core/Session/WriteSafeSessionHandler.php, line 92

Class

WriteSafeSessionHandler
Wraps another SessionHandlerInterface to prevent writes when not allowed.

Namespace

Drupal\Core\Session

Code

public function isSessionWritable() {
  return $this->sessionWritable;
}
doc_Drupal
2016-10-29 09:56:49
Comments
Leave a Comment

Please login to continue.