You are here

public function Fast404ExceptionHtmlSubscriber::__construct in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/EventSubscriber/Fast404ExceptionHtmlSubscriber.php \Drupal\Core\EventSubscriber\Fast404ExceptionHtmlSubscriber::__construct()

Constructs a new Fast404ExceptionHtmlSubscriber.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The configuration factory.

\Symfony\Component\HttpKernel\HttpKernelInterface $http_kernel: The HTTP Kernel service.

File

core/lib/Drupal/Core/EventSubscriber/Fast404ExceptionHtmlSubscriber.php, line 46
Contains \Drupal\Core\EventSubscriber\Fast404ExceptionHtmlSubscriber.

Class

Fast404ExceptionHtmlSubscriber
High-performance 404 exception subscriber.

Namespace

Drupal\Core\EventSubscriber

Code

public function __construct(ConfigFactoryInterface $config_factory, HttpKernelInterface $http_kernel) {
  $this->configFactory = $config_factory;
  $this->httpKernel = $http_kernel;
}