Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. WriteSafeSessionHandlerInterface.php

function 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();

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal