7 calls to Drupal::csrfToken() in Drupal 10
- DrupalMedia::getConfig in core/
modules/ ckeditor/ src/ Plugin/ CKEditorPlugin/ DrupalMedia.php - DrupalTest::testCsrfToken in core/
tests/ Drupal/ Tests/ Core/ DrupalTest.php - Tests the csrfToken() method.
- Media::getDynamicPluginConfig in core/
modules/ ckeditor5/ src/ Plugin/ CKEditor5Plugin/ Media.php - MediaFilterController::checkCsrf in core/
modules/ media/ src/ Controller/ MediaFilterController.php - Throws an AccessDeniedHttpException if the request fails CSRF validation.
- QuickEditController::checkCsrf in core/
modules/ quickedit/ src/ QuickEditController.php - Throws an AccessDeniedHttpException if the request fails CSRF validation.
- quickedit_page_attachments in core/
modules/ quickedit/ quickedit.module - Implements hook_page_attachments().
- system_js_settings_alter in core/
modules/ system/ system.module - Implements hook_js_settings_alter().