Handle the EnforcedResponseException and deliver an EnforcedResponse.
Hierarchy
- class \Drupal\Core\EventSubscriber\EnforcedFormResponseSubscriber implements EventSubscriberInterface
File
- core/lib/Drupal/Core/EventSubscriber/EnforcedFormResponseSubscriber.php, line 15
Namespace
Drupal\Core\EventSubscriber
Members
Name | Modifiers | Type | Description |
---|---|---|---|
EnforcedFormResponseSubscriber::getSubscribedEvents | public static | function | Returns an array of event names this subscriber wants to listen to. Overrides EventSubscriberInterface::getSubscribedEvents |
EnforcedFormResponseSubscriber::onKernelException | public | function | Replaces the response in case an EnforcedResponseException was thrown. |
EnforcedFormResponseSubscriber::onKernelResponse | public | function | Unwraps an enforced response. |
Please login to continue.