function DefaultExceptionHtmlSubscriber::__construct
Same name and namespace in other branches
- 11.x core/lib/Drupal/Core/EventSubscriber/DefaultExceptionHtmlSubscriber.php \Drupal\Core\EventSubscriber\DefaultExceptionHtmlSubscriber::__construct()
- 10 core/lib/Drupal/Core/EventSubscriber/DefaultExceptionHtmlSubscriber.php \Drupal\Core\EventSubscriber\DefaultExceptionHtmlSubscriber::__construct()
- 9 core/lib/Drupal/Core/EventSubscriber/DefaultExceptionHtmlSubscriber.php \Drupal\Core\EventSubscriber\DefaultExceptionHtmlSubscriber::__construct()
- 8.9.x core/lib/Drupal/Core/EventSubscriber/DefaultExceptionHtmlSubscriber.php \Drupal\Core\EventSubscriber\DefaultExceptionHtmlSubscriber::__construct()
Constructs a new DefaultExceptionHtmlSubscriber.
Parameters
\Symfony\Component\HttpKernel\HttpKernelInterface $httpKernel: The HTTP kernel.
\Psr\Log\LoggerInterface $logger: The logger service.
\Drupal\Core\Routing\RedirectDestinationInterface $redirectDestination: The redirect destination service.
\Symfony\Component\Routing\Matcher\UrlMatcherInterface $accessUnawareRouter: A router implementation which does not check access.
1 call to DefaultExceptionHtmlSubscriber::__construct()
- CustomPageExceptionHtmlSubscriber::__construct in core/
lib/ Drupal/ Core/ EventSubscriber/ CustomPageExceptionHtmlSubscriber.php - Constructs a new CustomPageExceptionHtmlSubscriber.
1 method overrides DefaultExceptionHtmlSubscriber::__construct()
- CustomPageExceptionHtmlSubscriber::__construct in core/
lib/ Drupal/ Core/ EventSubscriber/ CustomPageExceptionHtmlSubscriber.php - Constructs a new CustomPageExceptionHtmlSubscriber.
File
-
core/
lib/ Drupal/ Core/ EventSubscriber/ DefaultExceptionHtmlSubscriber.php, line 32
Class
- DefaultExceptionHtmlSubscriber
- Exception subscriber for handling core default HTML error pages.
Namespace
Drupal\Core\EventSubscriberCode
public function __construct(protected HttpKernelInterface $httpKernel, protected LoggerInterface $logger, protected RedirectDestinationInterface $redirectDestination, protected UrlMatcherInterface $accessUnawareRouter) {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.