| UserSessionTest::testHasPermission |
function |
core/tests/Drupal/Tests/Core/Session/UserSessionTest.php |
Tests the has permission method. |
| UserSessionTest::testUserGetRoles |
function |
core/tests/Drupal/Tests/Core/Session/UserSessionTest.php |
Tests the method getRoles exclude or include locked roles based in param. |
| UserTest::createUserSession |
function |
core/modules/user/tests/src/Unit/Plugin/Core/Entity/UserTest.php |
Setups a user session for the test. |
| WebAssertArgumentsTest::$session |
property |
core/tests/Drupal/Tests/Core/Assert/WebAssertArgumentsTest.php |
The mocked Mink session object used for testing. |
| WebAssertArgumentsTest::getSession |
function |
core/tests/Drupal/Tests/Core/Assert/WebAssertArgumentsTest.php |
Returns a mocked behat session object. |
| WebDriverTestBase::assertSession |
function |
core/tests/Drupal/FunctionalJavascriptTests/WebDriverTestBase.php |
Returns WebAssert object. |
| workspaces.negotiator.session |
service |
core/modules/workspaces/workspaces.services.yml |
Drupal\workspaces\Negotiator\SessionWorkspaceNegotiator |
| WriteSafeSessionHandler |
class |
core/lib/Drupal/Core/Session/WriteSafeSessionHandler.php |
Wraps the session handler to prevent writes when not necessary or allowed. |
| WriteSafeSessionHandler.php |
file |
core/lib/Drupal/Core/Session/WriteSafeSessionHandler.php |
|
| WriteSafeSessionHandler::$readSessions |
property |
core/lib/Drupal/Core/Session/WriteSafeSessionHandler.php |
The read sessions. |
| WriteSafeSessionHandler::$sessionWritable |
property |
core/lib/Drupal/Core/Session/WriteSafeSessionHandler.php |
Whether or not the session is enabled for writing. |
| WriteSafeSessionHandler::$wrappedSessionHandler |
property |
core/lib/Drupal/Core/Session/WriteSafeSessionHandler.php |
|
| WriteSafeSessionHandler::close |
function |
core/lib/Drupal/Core/Session/WriteSafeSessionHandler.php |
#[\ReturnTypeWillChange] |
| WriteSafeSessionHandler::destroy |
function |
core/lib/Drupal/Core/Session/WriteSafeSessionHandler.php |
#[\ReturnTypeWillChange] |
| WriteSafeSessionHandler::gc |
function |
core/lib/Drupal/Core/Session/WriteSafeSessionHandler.php |
#[\ReturnTypeWillChange] |
| WriteSafeSessionHandler::isSessionWritable |
function |
core/lib/Drupal/Core/Session/WriteSafeSessionHandler.php |
Returns whether or not a session may be written to storage. |
| WriteSafeSessionHandler::open |
function |
core/lib/Drupal/Core/Session/WriteSafeSessionHandler.php |
#[\ReturnTypeWillChange] |
| WriteSafeSessionHandler::read |
function |
core/lib/Drupal/Core/Session/WriteSafeSessionHandler.php |
#[\ReturnTypeWillChange] |
| WriteSafeSessionHandler::setSessionWritable |
function |
core/lib/Drupal/Core/Session/WriteSafeSessionHandler.php |
Sets whether or not a session may be written to storage. |
| WriteSafeSessionHandler::write |
function |
core/lib/Drupal/Core/Session/WriteSafeSessionHandler.php |
#[\ReturnTypeWillChange] |
| WriteSafeSessionHandler::__construct |
function |
core/lib/Drupal/Core/Session/WriteSafeSessionHandler.php |
Constructs a new write safe session handler. |
| WriteSafeSessionHandlerInterface |
interface |
core/lib/Drupal/Core/Session/WriteSafeSessionHandlerInterface.php |
Provides an interface for session handlers where writing can be disabled. |
| WriteSafeSessionHandlerInterface.php |
file |
core/lib/Drupal/Core/Session/WriteSafeSessionHandlerInterface.php |
|
| WriteSafeSessionHandlerInterface::isSessionWritable |
function |
core/lib/Drupal/Core/Session/WriteSafeSessionHandlerInterface.php |
Returns whether or not a session may be written to storage. |
| WriteSafeSessionHandlerInterface::setSessionWritable |
function |
core/lib/Drupal/Core/Session/WriteSafeSessionHandlerInterface.php |
Sets whether or not a session may be written to storage. |
| WriteSafeSessionHandlerTest |
class |
core/tests/Drupal/Tests/Core/Session/WriteSafeSessionHandlerTest.php |
Tests \Drupal\Core\Session\WriteSafeSessionHandler. |
| WriteSafeSessionHandlerTest.php |
file |
core/tests/Drupal/Tests/Core/Session/WriteSafeSessionHandlerTest.php |
|
| WriteSafeSessionHandlerTest::$sessionHandler |
property |
core/tests/Drupal/Tests/Core/Session/WriteSafeSessionHandlerTest.php |
The write safe session handler. |
| WriteSafeSessionHandlerTest::$wrappedSessionHandler |
property |
core/tests/Drupal/Tests/Core/Session/WriteSafeSessionHandlerTest.php |
The wrapped session handler. |
| WriteSafeSessionHandlerTest::providerTestOtherMethods |
function |
core/tests/Drupal/Tests/Core/Session/WriteSafeSessionHandlerTest.php |
Provides test data for the other methods test. |
| WriteSafeSessionHandlerTest::setUp |
function |
core/tests/Drupal/Tests/Core/Session/WriteSafeSessionHandlerTest.php |
|
| WriteSafeSessionHandlerTest::testConstructWriteSafeSessionHandlerDefaultArgs |
function |
core/tests/Drupal/Tests/Core/Session/WriteSafeSessionHandlerTest.php |
Tests creating a WriteSafeSessionHandler with default arguments. |
| WriteSafeSessionHandlerTest::testConstructWriteSafeSessionHandlerDisableWriting |
function |
core/tests/Drupal/Tests/Core/Session/WriteSafeSessionHandlerTest.php |
Tests creating a WriteSafeSessionHandler with session writing disabled. |
| WriteSafeSessionHandlerTest::testOtherMethods |
function |
core/tests/Drupal/Tests/Core/Session/WriteSafeSessionHandlerTest.php |
Tests that other invocations are passed unmodified to the wrapped handler. |
| WriteSafeSessionHandlerTest::testSetSessionWritable |
function |
core/tests/Drupal/Tests/Core/Session/WriteSafeSessionHandlerTest.php |
Tests using setSessionWritable to enable/disable session writing. |
| _user_cancel_session_regenerate |
function |
core/modules/user/user.module |
Implements callback_batch_finished(). |