public function AjaxResponseSubscriber::__construct in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/EventSubscriber/AjaxResponseSubscriber.php \Drupal\Core\EventSubscriber\AjaxResponseSubscriber::__construct()
Constructs an AjaxResponseSubscriber object.
Parameters
\Drupal\Core\Render\AttachmentsResponseProcessorInterface $ajax_response_attachments_processor: The AJAX response attachments processor service.
File
- core/
lib/ Drupal/ Core/ EventSubscriber/ AjaxResponseSubscriber.php, line 36 - Contains \Drupal\Core\EventSubscriber\AjaxResponseSubscriber.
Class
- AjaxResponseSubscriber
- Response subscriber to handle AJAX responses.
Namespace
Drupal\Core\EventSubscriberCode
public function __construct(AttachmentsResponseProcessorInterface $ajax_response_attachments_processor) {
$this->ajaxResponseAttachmentsProcessor = $ajax_response_attachments_processor;
}