Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. HtmlResponseSubscriber.php

function 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 29

Class

HtmlResponseSubscriber
Response subscriber to handle HTML responses.

Namespace

Drupal\Core\EventSubscriber

Code

public function __construct(AttachmentsResponseProcessorInterface $html_response_attachments_processor) {
    $this->htmlResponseAttachmentsProcessor = $html_response_attachments_processor;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal