public static function RouteProcessorCsrf::trustedCallbacks in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Access/RouteProcessorCsrf.php \Drupal\Core\Access\RouteProcessorCsrf::trustedCallbacks()
- 9 core/lib/Drupal/Core/Access/RouteProcessorCsrf.php \Drupal\Core\Access\RouteProcessorCsrf::trustedCallbacks()
File
- core/
lib/ Drupal/ Core/ Access/ RouteProcessorCsrf.php, line 88
Class
- RouteProcessorCsrf
- Processes the outbound route to handle the CSRF token.
Namespace
Drupal\Core\AccessCode
public static function trustedCallbacks() {
return [
'renderPlaceholderCsrfToken',
];
}