EnforcedFormResponseSubscriber

Handle the EnforcedResponseException and deliver an EnforcedResponse.

Hierarchy

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.
doc_Drupal
2016-10-29 09:04:08
Comments
Leave a Comment

Please login to continue.