function Fast404ExceptionHtmlSubscriber::__construct
Same name in other branches
- 9 core/lib/Drupal/Core/EventSubscriber/Fast404ExceptionHtmlSubscriber.php \Drupal\Core\EventSubscriber\Fast404ExceptionHtmlSubscriber::__construct()
- 10 core/lib/Drupal/Core/EventSubscriber/Fast404ExceptionHtmlSubscriber.php \Drupal\Core\EventSubscriber\Fast404ExceptionHtmlSubscriber::__construct()
- 11.x 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 41
Class
- Fast404ExceptionHtmlSubscriber
- High-performance 404 exception subscriber.
Namespace
Drupal\Core\EventSubscriberCode
public function __construct(ConfigFactoryInterface $config_factory, HttpKernelInterface $http_kernel) {
$this->configFactory = $config_factory;
$this->httpKernel = $http_kernel;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.