Search for to

  1. Search 7.x for to
  2. Search 9.5.x for to
  3. Search 8.9.x for to
  4. Search 10.3.x for to
  5. Other projects
Title Object type File name Summary
Cookie::addCheckToUrl function core/modules/user/src/Authentication/Provider/Cookie.php Adds a query parameter to check successful log in redirect URL.
CookieResourceTestTrait::$csrfToken property core/modules/rest/tests/src/Functional/CookieResourceTestTrait.php The CSRF token.
CookieResourceTestTrait::$logoutToken property core/modules/rest/tests/src/Functional/CookieResourceTestTrait.php The logout token.
CookieResourceTestTrait::getAuthenticationRequestOptions function core/modules/rest/tests/src/Functional/CookieResourceTestTrait.php
CopyTest::$fileRepository property core/modules/file/tests/src/Kernel/CopyTest.php The file repository service under test.
CopyTest::testEntityStorageException function core/modules/file/tests/src/Kernel/CopyTest.php Tests for entity storage exception.
Core::computeCKEditor5PluginSubsetConfiguration function core/modules/ckeditor5/src/Plugin/CKEditor4To5Upgrade/Core.php Computes elements subset configuration for CKEditor 5 plugin.
Core::mapCKEditor4SettingsToCKEditor5Configuration function core/modules/ckeditor5/src/Plugin/CKEditor4To5Upgrade/Core.php Maps CKEditor 4 settings to the CKEditor 5 equivalent, if needed.
Core::mapCKEditor4ToolbarButtonToCKEditor5ToolbarItem function core/modules/ckeditor5/src/Plugin/CKEditor4To5Upgrade/Core.php Maps a CKEditor 4 button to the CKEditor 5 equivalent, if it exists.
CoreThemesAutoloadedForTests class core/tests/Drupal/Tests/Core/Theme/CoreThemesAutoloadedForTests.php Confirms that core/themes is autoloaded for tests.
CoreThemesAutoloadedForTests.php file core/tests/Drupal/Tests/Core/Theme/CoreThemesAutoloadedForTests.php
CoreThemesAutoloadedForTests::testCoreThemesAutoloadedForTests function core/tests/Drupal/Tests/Core/Theme/CoreThemesAutoloadedForTests.php Confirms that core/themes is autoloaded for tests.
count.jsonapi.resource_type.repository service core/modules/jsonapi/tests/modules/jsonapi_test_collection_count/jsonapi_test_collection_count.services.yml Drupal\jsonapi_test_collection_count\ResourceType\CountableResourceTypeRepository
CountableResourceTypeRepository class core/modules/jsonapi/tests/modules/jsonapi_test_collection_count/src/ResourceType/CountableResourceTypeRepository.php Provides a repository of JSON:API configurable resource types.
CountableResourceTypeRepository.php file core/modules/jsonapi/tests/modules/jsonapi_test_collection_count/src/ResourceType/CountableResourceTypeRepository.php
CountableResourceTypeRepository::createResourceType function core/modules/jsonapi/tests/modules/jsonapi_test_collection_count/src/ResourceType/CountableResourceTypeRepository.php Creates a ResourceType value object for the given entity type + bundle.
CronRunTest::testAutomatedCron function core/modules/system/tests/src/Functional/System/CronRunTest.php Ensure that the automated cron run module is working.
CronSuspendQueueDelayTest::$cronConstructorArguments property core/tests/Drupal/Tests/Core/Cron/CronSuspendQueueDelayTest.php Constructor arguments for \Drupal\Core\Cron.
CsrfAccessCheck::$csrfToken property core/lib/Drupal/Core/Access/CsrfAccessCheck.php The CSRF token generator.
CsrfAccessCheckTest::$csrfToken property core/tests/Drupal/Tests/Core/Access/CsrfAccessCheckTest.php The mock CSRF token generator.
CsrfAccessCheckTest::testAccessTokenPass function core/tests/Drupal/Tests/Core/Access/CsrfAccessCheckTest.php Tests the access() method with a valid token.
CsrfAccessCheckTest::testCsrfTokenInvalid function core/tests/Drupal/Tests/Core/Access/CsrfAccessCheckTest.php @covers ::access
CsrfAccessCheckTest::testCsrfTokenMissing function core/tests/Drupal/Tests/Core/Access/CsrfAccessCheckTest.php @covers ::access
CsrfRequestHeaderAccessCheck::$csrfToken property core/lib/Drupal/Core/Access/CsrfRequestHeaderAccessCheck.php The token generator.
CsrfRequestHeaderAccessCheck::TOKEN_KEY constant core/lib/Drupal/Core/Access/CsrfRequestHeaderAccessCheck.php A string key that will used to designate the token used by this class.
CsrfTokenController class core/modules/system/src/Controller/CsrfTokenController.php Returns responses for CSRF token routes.
CsrfTokenController.php file core/modules/system/src/Controller/CsrfTokenController.php
CsrfTokenController::$tokenGenerator property core/modules/system/src/Controller/CsrfTokenController.php The CSRF token generator.
CsrfTokenController::create function core/modules/system/src/Controller/CsrfTokenController.php Instantiates a new instance of this class.
CsrfTokenController::csrfToken function core/modules/system/src/Controller/CsrfTokenController.php Returns a CSRF protecting session token.
CsrfTokenController::__construct function core/modules/system/src/Controller/CsrfTokenController.php Constructs a new CsrfTokenController object.
CsrfTokenGenerator class core/lib/Drupal/Core/Access/CsrfTokenGenerator.php Generates and validates CSRF tokens.
CsrfTokenGenerator.php file core/lib/Drupal/Core/Access/CsrfTokenGenerator.php
CsrfTokenGenerator::$privateKey property core/lib/Drupal/Core/Access/CsrfTokenGenerator.php The private key service.
CsrfTokenGenerator::$sessionMetadata property core/lib/Drupal/Core/Access/CsrfTokenGenerator.php The session metadata bag.
CsrfTokenGenerator::computeToken function core/lib/Drupal/Core/Access/CsrfTokenGenerator.php Generates a token based on $value, the token seed, and the private key.
CsrfTokenGenerator::get function core/lib/Drupal/Core/Access/CsrfTokenGenerator.php Generates a token based on $value, the user session, and the private key.
CsrfTokenGenerator::validate function core/lib/Drupal/Core/Access/CsrfTokenGenerator.php Validates a token based on $value, the user session, and the private key.
CsrfTokenGenerator::__construct function core/lib/Drupal/Core/Access/CsrfTokenGenerator.php Constructs the token generator.
CsrfTokenGeneratorTest class core/tests/Drupal/Tests/Core/Access/CsrfTokenGeneratorTest.php Tests the CsrfTokenGenerator class.
CsrfTokenGeneratorTest.php file core/tests/Drupal/Tests/Core/Access/CsrfTokenGeneratorTest.php
CsrfTokenGeneratorTest::$generator property core/tests/Drupal/Tests/Core/Access/CsrfTokenGeneratorTest.php The CSRF token generator.
CsrfTokenGeneratorTest::$privateKey property core/tests/Drupal/Tests/Core/Access/CsrfTokenGeneratorTest.php The mock private key instance.
CsrfTokenGeneratorTest::$sessionMetadata property core/tests/Drupal/Tests/Core/Access/CsrfTokenGeneratorTest.php The mock session metadata bag.
CsrfTokenGeneratorTest::providerTestInvalidParameterTypes function core/tests/Drupal/Tests/Core/Access/CsrfTokenGeneratorTest.php Provides data for testInvalidParameterTypes.
CsrfTokenGeneratorTest::providerTestValidateParameterTypes function core/tests/Drupal/Tests/Core/Access/CsrfTokenGeneratorTest.php Provides data for testValidateParameterTypes.
CsrfTokenGeneratorTest::setUp function core/tests/Drupal/Tests/Core/Access/CsrfTokenGeneratorTest.php
CsrfTokenGeneratorTest::setupDefaultExpectations function core/tests/Drupal/Tests/Core/Access/CsrfTokenGeneratorTest.php Set up default expectations on the mocks.
CsrfTokenGeneratorTest::testGenerateSeedOnGet function core/tests/Drupal/Tests/Core/Access/CsrfTokenGeneratorTest.php Tests that a new token seed is generated upon first use.
CsrfTokenGeneratorTest::testGet function core/tests/Drupal/Tests/Core/Access/CsrfTokenGeneratorTest.php Tests CsrfTokenGenerator::get().

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