Provides an implementation of AttachmentsInterface.
Hierarchy
- trait \Drupal\Core\Render\AttachmentsTrait
See also
\Drupal\Core\Render\AttachmentsInterface
File
- core/lib/Drupal/Core/Render/AttachmentsTrait.php, line 10
Namespace
Drupal\Core\Render
Members
Name | Modifiers | Type | Description |
---|---|---|---|
AttachmentsTrait::$attachments | protected | property | The attachments for this response. |
AttachmentsTrait::addAttachments | public | function | Adds attachments. Overrides AttachmentsInterface::addAttachments |
AttachmentsTrait::getAttachments | public | function | Gets attachments. Overrides AttachmentsInterface::getAttachments |
AttachmentsTrait::setAttachments | public | function | Sets attachments. Overrides AttachmentsInterface::setAttachments |
Please login to continue.