abstract protected HttpExceptionSubscriberBase::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.
See also
\Symfony\Component\HttpFoundation\Request
File
- core/lib/Drupal/Core/EventSubscriber/HttpExceptionSubscriberBase.php, line 59
Class
- HttpExceptionSubscriberBase
- Utility base class for exception subscribers.
Namespace
Drupal\Core\EventSubscriber
Code
abstract protected function getHandledFormats();
Please login to continue.