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