function AjaxResponseSubscriber::__construct

Same name in other branches
  1. 9 core/lib/Drupal/Core/EventSubscriber/AjaxResponseSubscriber.php \Drupal\Core\EventSubscriber\AjaxResponseSubscriber::__construct()
  2. 8.9.x core/lib/Drupal/Core/EventSubscriber/AjaxResponseSubscriber.php \Drupal\Core\EventSubscriber\AjaxResponseSubscriber::__construct()
  3. 10 core/lib/Drupal/Core/EventSubscriber/AjaxResponseSubscriber.php \Drupal\Core\EventSubscriber\AjaxResponseSubscriber::__construct()

Constructs an AjaxResponseSubscriber object.

Parameters

\Closure $processorClosure: The AJAX response attachments processor service, wrapped in a closure.

File

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

Class

AjaxResponseSubscriber
Response subscriber to handle AJAX responses.

Namespace

Drupal\Core\EventSubscriber

Code

public function __construct(\Closure $processorClosure) {
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.