public function CustomPageExceptionHtmlSubscriber::__construct in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/EventSubscriber/CustomPageExceptionHtmlSubscriber.php \Drupal\Core\EventSubscriber\CustomPageExceptionHtmlSubscriber::__construct()
Constructs a new CustomPageExceptionHtmlSubscriber.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The configuration factory.
\Drupal\Core\Path\AliasManagerInterface $alias_manager: The alias manager service.
\Symfony\Component\HttpKernel\HttpKernelInterface $http_kernel: The HTTP Kernel service.
\Psr\Log\LoggerInterface $logger: The logger service.
\Drupal\Core\Routing\RedirectDestinationInterface $redirect_destination: The redirect destination service.
Overrides DefaultExceptionHtmlSubscriber::__construct
File
- core/
lib/ Drupal/ Core/ EventSubscriber/ CustomPageExceptionHtmlSubscriber.php, line 51 - Contains \Drupal\Core\EventSubscriber\CustomPageExceptionHtmlSubscriber.
Class
- CustomPageExceptionHtmlSubscriber
- Exception subscriber for handling core custom HTML error pages.
Namespace
Drupal\Core\EventSubscriberCode
public function __construct(ConfigFactoryInterface $config_factory, AliasManagerInterface $alias_manager, HttpKernelInterface $http_kernel, LoggerInterface $logger, RedirectDestinationInterface $redirect_destination) {
parent::__construct($http_kernel, $logger, $redirect_destination);
$this->configFactory = $config_factory;
$this->aliasManager = $alias_manager;
}