protected property AttachmentsTrait::$attachments in Drupal 9
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Render/AttachmentsTrait.php \Drupal\Core\Render\AttachmentsTrait::attachments
- 10 core/lib/Drupal/Core/Render/AttachmentsTrait.php \Drupal\Core\Render\AttachmentsTrait::attachments
The attachments for this response.
Type: array
File
- core/
lib/ Drupal/ Core/ Render/ AttachmentsTrait.php, line 17
Class
- AttachmentsTrait
- Provides an implementation of AttachmentsInterface.
Namespace
Drupal\Core\RenderCode
protected $attachments = [];