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\EventSubscriber

Code

public function __construct(ConfigFactoryInterface $config_factory, HttpKernelInterface $http_kernel) {
  $this->configFactory = $config_factory;
  $this->httpKernel = $http_kernel;
}
doc_Drupal
2016-10-29 09:09:49
Comments
Leave a Comment

Please login to continue.