Search for session
- Search 7.x for session
- Search 9.5.x for session
- Search 8.9.x for session
- Search 11.x for session
- Search main for session
- Other projects
Exact matches
| Title | Object type | File name | Summary |
|---|---|---|---|
| session | service | core/ |
Symfony\Component\HttpFoundation\Session\Session |
| Session | class | core/ |
Wrap session logic around a HTTP request. |
All search results
| Title | Object type | File name | Summary |
|---|---|---|---|
| UserSessionTest | class | core/ |
@coversDefaultClass \Drupal\Core\Session\UserSession[[api-linebreak]] @group Session |
| UserSessionTest.php | file | core/ |
|
| UserSessionTest::createUserSession | function | core/ |
Setups a user session for the test. |
| UserSessionTest::testHasPermission | function | core/ |
Tests the has permission method. |
| UserSessionTest::testHasPermissionLegacy | function | core/ |
Tests deprecation when permission is not a string. |
| UserSessionTest::testHasRole | function | core/ |
Tests the hasRole method. |
| UserSessionTest::testUserGetRoles | function | core/ |
Tests the method getRoles exclude or include locked roles based in param. |
| UserTest::createUserSession | function | core/ |
Setups a user session for the test. |
| WebAssertTest::$session | property | core/ |
Session mock. |
| WebAssertTest::assertSession | function | core/ |
Get the mocked session. |
| WebDriverTestBase::assertSession | function | core/ |
Returns WebAssert object. |
| workspaces.negotiator.session | service | core/ |
Drupal\workspaces\Negotiator\SessionWorkspaceNegotiator |
| WriteSafeSessionHandler | class | core/ |
Wraps the session handler to prevent writes when not necessary or allowed. |
| WriteSafeSessionHandler.php | file | core/ |
|
| WriteSafeSessionHandler::$readSessions | property | core/ |
The read sessions. |
| WriteSafeSessionHandler::$sessionWritable | property | core/ |
Whether or not the session is enabled for writing. |
| WriteSafeSessionHandler::$wrappedSessionHandler | property | core/ |
|
| WriteSafeSessionHandler::close | function | core/ |
#[\ReturnTypeWillChange] |
| WriteSafeSessionHandler::destroy | function | core/ |
#[\ReturnTypeWillChange] |
| WriteSafeSessionHandler::gc | function | core/ |
#[\ReturnTypeWillChange] |
| WriteSafeSessionHandler::isSessionWritable | function | core/ |
Returns whether or not a session may be written to storage. |
| WriteSafeSessionHandler::open | function | core/ |
#[\ReturnTypeWillChange] |
| WriteSafeSessionHandler::read | function | core/ |
#[\ReturnTypeWillChange] |
| WriteSafeSessionHandler::setSessionWritable | function | core/ |
Sets whether or not a session may be written to storage. |
| WriteSafeSessionHandler::write | function | core/ |
#[\ReturnTypeWillChange] |
| WriteSafeSessionHandler::__construct | function | core/ |
Constructs a new write safe session handler. |
| WriteSafeSessionHandlerInterface | interface | core/ |
Provides an interface for session handlers where writing can be disabled. |
| WriteSafeSessionHandlerInterface.php | file | core/ |
|
| WriteSafeSessionHandlerInterface::isSessionWritable | function | core/ |
Returns whether or not a session may be written to storage. |
| WriteSafeSessionHandlerInterface::setSessionWritable | function | core/ |
Sets whether or not a session may be written to storage. |
| WriteSafeSessionHandlerTest | class | core/ |
Tests \Drupal\Core\Session\WriteSafeSessionHandler. |
| WriteSafeSessionHandlerTest.php | file | core/ |
|
| WriteSafeSessionHandlerTest::$sessionHandler | property | core/ |
The write safe session handler. |
| WriteSafeSessionHandlerTest::$wrappedSessionHandler | property | core/ |
The wrapped session handler. |
| WriteSafeSessionHandlerTest::providerTestOtherMethods | function | core/ |
Provides test data for the other methods test. |
| WriteSafeSessionHandlerTest::setUp | function | core/ |
|
| WriteSafeSessionHandlerTest::testConstructWriteSafeSessionHandlerDefaultArgs | function | core/ |
Tests creating a WriteSafeSessionHandler with default arguments. |
| WriteSafeSessionHandlerTest::testConstructWriteSafeSessionHandlerDisableWriting | function | core/ |
Tests creating a WriteSafeSessionHandler with session writing disabled. |
| WriteSafeSessionHandlerTest::testOtherMethods | function | core/ |
Tests that other invocations are passed unmodified to the wrapped handler. |
| WriteSafeSessionHandlerTest::testSetSessionWritable | function | core/ |
Tests using setSessionWritable to enable/disable session writing. |
| _user_cancel_session_regenerate | function | core/ |
Implements callback_batch_finished(). |
Pagination
- Previous page
- Page 8
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.