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 |
|---|---|---|---|
| SessionCacheContextTest::$session | property | core/ |
The session object. |
| SessionCacheContextTest::setUp | function | core/ |
|
| SessionCacheContextTest::testDifferentContextForDifferentSession | function | core/ |
@covers ::getContext[[api-linebreak]] |
| SessionCacheContextTest::testSameContextForSameSession | function | core/ |
@covers ::getContext[[api-linebreak]] |
| SessionConfiguration | class | core/ |
Defines the default session configuration generator. |
| SessionConfiguration.php | file | core/ |
|
| SessionConfiguration::$options | property | core/ |
An associative array of session ini settings. |
| SessionConfiguration::drupalValidTestUa | function | core/ |
Wraps drupal_valid_test_ua(). |
| SessionConfiguration::getCookieDomain | function | core/ |
Return the session cookie domain. |
| SessionConfiguration::getName | function | core/ |
Returns the session cookie name. |
| SessionConfiguration::getOptions | function | core/ |
Returns a list of options suitable for passing to the session storage. |
| SessionConfiguration::getUnprefixedName | function | core/ |
Returns the session cookie name without the secure/insecure prefix. |
| SessionConfiguration::hasSession | function | core/ |
Determines whether a session identifier is on the request. |
| SessionConfiguration::__construct | function | core/ |
Constructs a new session configuration instance. |
| SessionConfigurationInterface | interface | core/ |
Defines an interface for session configuration generators. |
| SessionConfigurationInterface.php | file | core/ |
|
| SessionConfigurationInterface::getOptions | function | core/ |
Returns a list of options suitable for passing to the session storage. |
| SessionConfigurationInterface::hasSession | function | core/ |
Determines whether a session identifier is on the request. |
| SessionConfigurationTest | class | core/ |
@coversDefaultClass \Drupal\Core\Session\SessionConfiguration[[api-linebreak]] @group Session |
| SessionConfigurationTest.php | file | core/ |
|
| SessionConfigurationTest::createSessionConfiguration | function | core/ |
Constructs a partially mocked SUT. |
| SessionConfigurationTest::providerTestConstructorDefaultSettings | function | core/ |
Data provider for the constructor test. |
| SessionConfigurationTest::providerTestCookieSecure | function | core/ |
Data provider for the cookie secure test. |
| SessionConfigurationTest::providerTestEnforcedCookieDomain | function | core/ |
Data provider for the cookie domain test. |
| SessionConfigurationTest::providerTestEnforcedSessionName | function | core/ |
Data provider for the cookie name test. |
| SessionConfigurationTest::providerTestGeneratedCookieDomain | function | core/ |
Data provider for the cookie domain test. |
| SessionConfigurationTest::providerTestGeneratedSessionName | function | core/ |
Data provider for the cookie name test. |
| SessionConfigurationTest::testConstructorDefaultSettings | function | core/ |
Tests constructor's default settings. |
| SessionConfigurationTest::testCookieSecure | function | core/ |
Tests whether the session.cookie_secure ini settings is computed correctly. |
| SessionConfigurationTest::testCookieSecureNotOverridable | function | core/ |
Tests that session.cookie_secure ini settings cannot be overridden. |
| SessionConfigurationTest::testEnforcedCookieDomain | function | core/ |
Tests the constructor injected session.cookie_domain ini setting. |
| SessionConfigurationTest::testEnforcedSessionNameViaCookieDomain | function | core/ |
Tests whether the session.name ini settings is computed correctly. |
| SessionConfigurationTest::testGeneratedCookieDomain | function | core/ |
Tests whether the session.cookie_domain ini settings is computed correctly. |
| SessionConfigurationTest::testGeneratedSessionName | function | core/ |
Tests whether the session.name ini settings is computed correctly. |
| SessionConfigurationTest::testSameSiteCookie | function | core/ |
Test that session.cookie_samesite is configured correctly. |
| SessionExistsCacheContext | class | core/ |
Defines the SessionExistsCacheContext service, for "session or not" caching. |
| SessionExistsCacheContext.php | file | core/ |
|
| SessionExistsCacheContext::$requestStack | property | core/ |
The request stack. |
| SessionExistsCacheContext::$sessionConfiguration | property | core/ |
The session configuration. |
| SessionExistsCacheContext::getCacheableMetadata | function | core/ |
Gets the cacheability metadata for the context. |
| SessionExistsCacheContext::getContext | function | core/ |
Returns the string representation of the cache context. |
| SessionExistsCacheContext::getLabel | function | core/ |
Returns the label of the cache context. |
| SessionExistsCacheContext::__construct | function | core/ |
Constructs a new SessionExistsCacheContext class. |
| SessionExistsCacheContextTest | class | core/ |
Tests the 'session.exists' cache context service. |
| SessionExistsCacheContextTest.php | file | core/ |
|
| SessionExistsCacheContextTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
| SessionExistsCacheContextTest::$modules | property | core/ |
Modules to install. |
| SessionExistsCacheContextTest::assertSessionCookieOnClient | function | core/ |
Asserts whether a session cookie is present on the client or not. |
| SessionExistsCacheContextTest::testCacheContext | function | core/ |
Tests \Drupal\Core\Cache\Context\SessionExistsCacheContext::getContext(). |
| SessionHandler | class | core/ |
Default session handler. |
Pagination
- Previous page
- Page 3
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.