Search for cookies

  1. Search 7.x for cookies
  2. Search 9.5.x for cookies
  3. Search 8.9.x for cookies
  4. Search 11.x for cookies
  5. Other projects
Title Object type File name Summary
BrowserTestBase::getSessionCookies function core/tests/Drupal/Tests/BrowserTestBase.php Get session cookies from current session.
cache_context.cookies service core/core.services.yml Drupal\Core\Cache\Context\CookiesCacheContext
CookiesCacheContext class core/lib/Drupal/Core/Cache/Context/CookiesCacheContext.php Defines the CookiesCacheContext service, for "per cookie" caching.
CookiesCacheContext.php file core/lib/Drupal/Core/Cache/Context/CookiesCacheContext.php
CookiesCacheContext::getCacheableMetadata function core/lib/Drupal/Core/Cache/Context/CookiesCacheContext.php Gets the cacheability metadata for the context based on the parameter value.
CookiesCacheContext::getContext function core/lib/Drupal/Core/Cache/Context/CookiesCacheContext.php Returns the string representation of the cache context.
CookiesCacheContext::getLabel function core/lib/Drupal/Core/Cache/Context/CookiesCacheContext.php Returns the label of the cache context.
SessionConfigurationTest::providerTestCookieSecure function core/tests/Drupal/Tests/Core/Session/SessionConfigurationTest.php Data provider for the cookie secure test.
SessionConfigurationTest::testCookieSecure function core/tests/Drupal/Tests/Core/Session/SessionConfigurationTest.php Tests whether the session.cookie_secure ini settings is computed correctly.
SessionConfigurationTest::testCookieSecureNotOverridable function core/tests/Drupal/Tests/Core/Session/SessionConfigurationTest.php Tests that session.cookie_secure ini settings cannot be overridden.
UserLoginHttpTest::$cookies property core/modules/user/tests/src/Functional/UserLoginHttpTest.php The cookie jar.
UserLoginTest::testCookiesNotAccepted function core/modules/user/tests/src/Functional/UserLoginTest.php Tests with a browser that denies cookies.
XdebugRequestTrait::extractCookiesFromRequest function core/tests/Drupal/Tests/XdebugRequestTrait.php Adds xdebug cookies, from request setup.
XdebugRequestTraitTest::extractCookiesDataProvider function core/tests/Drupal/Tests/Core/Test/XdebugRequestTraitTest.php Provides data to test extracting Xdebug cookies from a request.
XdebugRequestTraitTest::testExtractCookiesFromRequest function core/tests/Drupal/Tests/Core/Test/XdebugRequestTraitTest.php Tests that Xdebug cookies are extracted from a request correctly.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.