Processes attachments of AJAX responses.
Hierarchy
- class \Drupal\Core\Ajax\AjaxResponseAttachmentsProcessor implements AttachmentsResponseProcessorInterface
See also
\Drupal\Core\Ajax\AjaxResponse
\Drupal\Core\Render\MainContent\AjaxRenderer
File
- core/lib/Drupal/Core/Ajax/AjaxResponseAttachmentsProcessor.php, line 22
Namespace
Drupal\Core\Ajax
Members
Name | Modifiers | Type | Description |
---|---|---|---|
AjaxResponseAttachmentsProcessor::$assetResolver | protected | property | The asset resolver service. |
AjaxResponseAttachmentsProcessor::$config | protected | property | A config object for the system performance configuration. |
AjaxResponseAttachmentsProcessor::$cssCollectionRenderer | protected | property | The CSS asset collection renderer service. |
AjaxResponseAttachmentsProcessor::$jsCollectionRenderer | protected | property | The JS asset collection renderer service. |
AjaxResponseAttachmentsProcessor::$moduleHandler | protected | property | The module handler. |
AjaxResponseAttachmentsProcessor::$renderer | protected | property | The renderer. |
AjaxResponseAttachmentsProcessor::$requestStack | protected | property | The request stack. |
AjaxResponseAttachmentsProcessor::buildAttachmentsCommands | protected | function | Prepares the AJAX commands to attach assets. |
AjaxResponseAttachmentsProcessor::processAttachments | public | function | Processes the attachments of a response that has attachments. Overrides AttachmentsResponseProcessorInterface::processAttachments |
AjaxResponseAttachmentsProcessor::__construct | public | function | Constructs a AjaxResponseAttachmentsProcessor object. |
Please login to continue.