AjaxResponseSubscriber

Response subscriber to handle AJAX responses.

Hierarchy

File

core/lib/Drupal/Core/EventSubscriber/AjaxResponseSubscriber.php, line 16

Namespace

Drupal\Core\EventSubscriber

Members

Name Modifiers Type Description
AjaxResponseSubscriber::$ajaxResponseAttachmentsProcessor protected property The AJAX response attachments processor service.
AjaxResponseSubscriber::AJAX_REQUEST_PARAMETER constant Request parameter to indicate that a request is a Drupal Ajax request.
AjaxResponseSubscriber::getSubscribedEvents public static function Returns an array of event names this subscriber wants to listen to. Overrides EventSubscriberInterface::getSubscribedEvents
AjaxResponseSubscriber::onRequest public function Sets the AJAX parameter from the current request.
AjaxResponseSubscriber::onResponse public function Renders the ajax commands right before preparing the result.
AjaxResponseSubscriber::__construct public function Constructs an AjaxResponseSubscriber object.
doc_Drupal
2016-10-29 08:44:05
Comments
Leave a Comment

Please login to continue.