Search for to
| Title | Object type | File name | Summary |
|---|---|---|---|
| CsrfTokenController::csrfToken | function | core/ |
Returns a CSRF protecting session token. |
| CsrfTokenController::__construct | function | core/ |
Constructs a new CsrfTokenController object. |
| CsrfTokenGenerator | class | core/ |
Generates and validates CSRF tokens. |
| CsrfTokenGenerator.php | file | core/ |
|
| CsrfTokenGenerator::$privateKey | property | core/ |
The private key service. |
| CsrfTokenGenerator::$sessionMetadata | property | core/ |
The session metadata bag. |
| CsrfTokenGenerator::computeToken | function | core/ |
Generates a token based on $value, the token seed, and the private key. |
| CsrfTokenGenerator::get | function | core/ |
Generates a token based on $value, the user session, and the private key. |
| CsrfTokenGenerator::validate | function | core/ |
Validates a token based on $value, the user session, and the private key. |
| CsrfTokenGenerator::__construct | function | core/ |
Constructs the token generator. |
| CsrfTokenGeneratorTest | class | core/ |
Tests the CsrfTokenGenerator class. |
| CsrfTokenGeneratorTest.php | file | core/ |
|
| CsrfTokenGeneratorTest::$generator | property | core/ |
The CSRF token generator. |
| CsrfTokenGeneratorTest::$privateKey | property | core/ |
The mock private key instance. |
| CsrfTokenGeneratorTest::$sessionMetadata | property | core/ |
The mock session metadata bag. |
| CsrfTokenGeneratorTest::providerTestInvalidParameterTypes | function | core/ |
Provides data for testInvalidParameterTypes. |
| CsrfTokenGeneratorTest::providerTestValidateParameterTypes | function | core/ |
Provides data for testValidateParameterTypes. |
| CsrfTokenGeneratorTest::setUp | function | core/ |
|
| CsrfTokenGeneratorTest::setupDefaultExpectations | function | core/ |
Set up default expectations on the mocks. |
| CsrfTokenGeneratorTest::testGenerateSeedOnGet | function | core/ |
Tests that a new token seed is generated upon first use. |
| CsrfTokenGeneratorTest::testGet | function | core/ |
Tests CsrfTokenGenerator::get(). |
| CsrfTokenGeneratorTest::testGetWithNoHashSalt | function | core/ |
Tests the exception thrown when no 'hash_salt' is provided in settings. |
| CsrfTokenGeneratorTest::testInvalidParameterTypes | function | core/ |
Tests CsrfTokenGenerator::validate() with invalid parameter types. |
| CsrfTokenGeneratorTest::testValidate | function | core/ |
Tests CsrfTokenGenerator::validate(). |
| CsrfTokenGeneratorTest::testValidateParameterTypes | function | core/ |
Tests CsrfTokenGenerator::validate() with different parameter types. |
| CsrfTokenRaceTest | class | core/ |
Test race condition for CSRF tokens for simultaneous requests. |
| CsrfTokenRaceTest.php | file | core/ |
|
| CsrfTokenRaceTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
| CsrfTokenRaceTest::$modules | property | core/ |
Modules to install. |
| CsrfTokenRaceTest::testCsrfRace | function | core/ |
Tests race condition for CSRF tokens for simultaneous requests. |
| csrf_token | service | core/ |
Drupal\Core\Access\CsrfTokenGenerator |
| CssCollectionRenderer::$fileUrlGenerator | property | core/ |
The file URL generator. |
| CssCommand::$selector | property | core/ |
A CSS selector string. |
| CssOptimizer::$fileUrlGenerator | property | core/ |
The file URL generator. |
| CssOptimizerUnitTest::$fileUrlGenerator | property | core/ |
The file URL generator mock. |
| CssOptimizerUnitTest::providerTestOptimize | function | core/ |
Provides data for the CSS asset optimizing test. |
| CssOptimizerUnitTest::testOptimize | function | core/ |
Tests optimizing a CSS asset group containing 'type' => 'file'. |
| CurrentUserContext::$userStorage | property | core/ |
The user storage. |
| Custom | class | core/ |
A handler to provide a field that is completely custom by the administrator. |
| Custom.php | file | core/ |
|
| custom.yml | file | core/ |
core/tests/Drupal/Tests/Core/DrupalKernel/fixtures/custom.yml |
| Custom::buildOptionsForm | function | core/ |
Default option form that provides label widget that all fields should have. |
| Custom::defineOptions | function | core/ |
Information about options for all kinds of purposes will be held here. |
| Custom::preRenderCustomForm | function | core/ |
Prerender function to move the textarea to the top of a form. |
| Custom::query | function | core/ |
Called to add the field to a query. |
| Custom::render | function | core/ |
Renders the field. |
| Custom::trustedCallbacks | function | core/ |
Lists the trusted callbacks provided by the implementing class. |
| Custom::usesGroupBy | function | core/ |
Provides the handler some groupby. |
| CustomAccessCheck | class | core/ |
Defines an access checker that allows specifying a custom method for access. |
| CustomAccessCheck.php | file | core/ |
Pagination
- Previous page
- Page 50
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.