service csrf_token in Drupal 10
Same name and namespace in other branches
- 8 core/core.services.yml \csrf_token
- 9 core/core.services.yml \csrf_token
Class
Drupal\Core\Access\CsrfTokenGenerator17 string references to csrf_token
- BigPipePlaceholderTestCases::cases in core/
modules/ big_pipe/ tests/ modules/ big_pipe_test/ src/ BigPipePlaceholderTestCases.php - Gets all BigPipe placeholder test cases.
- comment_test_comment_links_alter in core/
modules/ comment/ tests/ modules/ comment_test/ comment_test.module - Implements hook_comment_links_alter().
- CookieResourceTestTrait::initAuthentication in core/
modules/ rest/ tests/ src/ Functional/ CookieResourceTestTrait.php - CsrfTokenController::create in core/
modules/ system/ src/ Controller/ CsrfTokenController.php - Instantiates a new instance of this class.
- Drupal::csrfToken in core/
lib/ Drupal.php - Returns the CSRF token manager service.
File
- core/
core.services.yml - core/core.services.yml
View source
- class: Drupal\Core\Access\CsrfTokenGenerator
- arguments:
- - '@private_key'
- - '@session_manager.metadata_bag'