AttachmentsResponseProcessorInterface
interface AttachmentsResponseProcessorInterface (View source)
Defines an interface for processing attachments of responses that have them.
Methods
processAttachments(AttachmentsInterface $response)
Processes the attachments of a response that has attachments.
Details
AttachmentsInterface
processAttachments(AttachmentsInterface $response)
Processes the attachments of a response that has attachments.
Libraries, JavaScript settings, feeds, HTML
tags, HTML links, HTTP headers, and the HTTP status code are attached to render arrays using the #attached property. The #attached property is an associative array, where the keys are the attachment types and the values are the attached data. For example: