function RouteProcessorCsrf::trustedCallbacks
Same name in other branches
- 9 core/lib/Drupal/Core/Access/RouteProcessorCsrf.php \Drupal\Core\Access\RouteProcessorCsrf::trustedCallbacks()
- 10 core/lib/Drupal/Core/Access/RouteProcessorCsrf.php \Drupal\Core\Access\RouteProcessorCsrf::trustedCallbacks()
- 11.x core/lib/Drupal/Core/Access/RouteProcessorCsrf.php \Drupal\Core\Access\RouteProcessorCsrf::trustedCallbacks()
Overrides TrustedCallbackInterface::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',
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.