W3cubDocs

/Drupal 8

protected property 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\Render

Code

protected $attachments = [];

© 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!Render!AttachmentsTrait.php/property/AttachmentsTrait::attachments/8.1.x