function CsrfExceptionSubscriber::getHandledFormats
Same name in other branches
- 10 core/lib/Drupal/Core/EventSubscriber/CsrfExceptionSubscriber.php \Drupal\Core\EventSubscriber\CsrfExceptionSubscriber::getHandledFormats()
Overrides HttpExceptionSubscriberBase::getHandledFormats
File
-
core/
lib/ Drupal/ Core/ EventSubscriber/ CsrfExceptionSubscriber.php, line 22
Class
- CsrfExceptionSubscriber
- Handles exceptions related to CSRF access.
Namespace
Drupal\Core\EventSubscriberCode
protected function getHandledFormats() : array {
return [
'html',
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.