Drupal 8  8.0.2
CustomPageExceptionHtmlSubscriber Class Reference
Inheritance diagram for CustomPageExceptionHtmlSubscriber:

Public Member Functions

 __construct (ConfigFactoryInterface $config_factory, AliasManagerInterface $alias_manager, HttpKernelInterface $http_kernel, LoggerInterface $logger, RedirectDestinationInterface $redirect_destination)
 
 on403 (GetResponseForExceptionEvent $event)
 
 on404 (GetResponseForExceptionEvent $event)
 
- Public Member Functions inherited from DefaultExceptionHtmlSubscriber
 __construct (HttpKernelInterface $http_kernel, LoggerInterface $logger, RedirectDestinationInterface $redirect_destination)
 
 on401 (GetResponseForExceptionEvent $event)
 
 on403 (GetResponseForExceptionEvent $event)
 
 on404 (GetResponseForExceptionEvent $event)
 
- Public Member Functions inherited from HttpExceptionSubscriberBase
 onException (GetResponseForExceptionEvent $event)
 

Static Protected Member Functions

static getPriority ()
 
- Static Protected Member Functions inherited from DefaultExceptionHtmlSubscriber
static getPriority ()
 
- Static Protected Member Functions inherited from HttpExceptionSubscriberBase
static getPriority ()
 

Protected Attributes

 $configFactory
 
 $aliasManager
 
- Protected Attributes inherited from DefaultExceptionHtmlSubscriber
 $httpKernel
 
 $logger
 
 $redirectDestination
 

Additional Inherited Members

- Static Public Member Functions inherited from HttpExceptionSubscriberBase
static getSubscribedEvents ()
 
- Protected Member Functions inherited from DefaultExceptionHtmlSubscriber
 getHandledFormats ()
 
 makeSubrequest (GetResponseForExceptionEvent $event, $url, $status_code)
 
- Protected Member Functions inherited from HttpExceptionSubscriberBase
 getHandledFormats ()
 

Detailed Description

Exception subscriber for handling core custom HTML error pages.

Constructor & Destructor Documentation

__construct ( ConfigFactoryInterface  $config_factory,
AliasManagerInterface  $alias_manager,
HttpKernelInterface  $http_kernel,
LoggerInterface  $logger,
RedirectDestinationInterface  $redirect_destination 
)

Constructs a new CustomPageExceptionHtmlSubscriber.

Parameters
\Drupal\Core\Config\ConfigFactoryInterface$config_factoryThe configuration factory.
\Drupal\Core\Path\AliasManagerInterface$alias_managerThe alias manager service.
\Symfony\Component\HttpKernel\HttpKernelInterface$http_kernelThe HTTP Kernel service.
\Psr\Log\LoggerInterface$loggerThe logger service.
\Drupal\Core\Routing\RedirectDestinationInterface$redirect_destinationThe redirect destination service.

References Drupal\configFactory().

Here is the call graph for this function:

Member Function Documentation

static getPriority ( )
staticprotected

{}

on403 ( GetResponseForExceptionEvent  $event)

{}

References Drupal\configFactory(), and DefaultExceptionHtmlSubscriber\makeSubrequest().

Here is the call graph for this function:

on404 ( GetResponseForExceptionEvent  $event)

{}

References Drupal\configFactory(), and DefaultExceptionHtmlSubscriber\makeSubrequest().

Here is the call graph for this function:


The documentation for this class was generated from the following file: