public function Fast404ExceptionHtmlSubscriber::__construct
public Fast404ExceptionHtmlSubscriber::__construct(ConfigFactoryInterface $config_factory, HttpKernelInterface $http_kernel)
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; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!EventSubscriber!Fast404ExceptionHtmlSubscriber.php/function/Fast404ExceptionHtmlSubscriber::__construct/8.1.x