protected function HandlerFor403AccessDenied::getHandledFormats in moderated content bulk publish 8
Same name and namespace in other branches
- 2.0.x src/EventSubscriber/HandlerFor403AccessDenied.php \Drupal\moderated_content_bulk_publish\EventSubscriber\HandlerFor403AccessDenied::getHandledFormats()
- 1.0.x src/EventSubscriber/HandlerFor403AccessDenied.php \Drupal\moderated_content_bulk_publish\EventSubscriber\HandlerFor403AccessDenied::getHandledFormats()
Specifies the request formats this subscriber will respond to.
Return value
array An indexed array of the format machine names that this subscriber will attempt to process, such as "html" or "json". Returning an empty array will apply to all formats.
Overrides HttpExceptionSubscriberBase::getHandledFormats
See also
\Symfony\Component\HttpFoundation\Request
File
- src/
EventSubscriber/ HandlerFor403AccessDenied.php, line 19
Class
Namespace
Drupal\moderated_content_bulk_publish\EventSubscriberCode
protected function getHandledFormats() {
return [
'html',
];
}