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
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.