Processes attachments of AJAX responses.
\Drupal\Core\Ajax\AjaxResponse
\Drupal\Core\Render\MainContent\AjaxRenderer
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. |
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Ajax!AjaxResponseAttachmentsProcessor.php/class/AjaxResponseAttachmentsProcessor/8.1.x