function AccessDeniedSubscriber::getHandledFormats
Same name and namespace in other branches
- 11.x core/modules/user/src/EventSubscriber/AccessDeniedSubscriber.php \Drupal\user\EventSubscriber\AccessDeniedSubscriber::getHandledFormats()
File
-
core/
modules/ user/ src/ EventSubscriber/ AccessDeniedSubscriber.php, line 42
Class
- AccessDeniedSubscriber
- Redirects users when access is denied.
Namespace
Drupal\user\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.