W3cubDocs

/Drupal 8

public function AttachmentsInterface::getAttachments

public AttachmentsInterface::getAttachments()

Gets attachments.

Return value

array The attachments.

File

core/lib/Drupal/Core/Render/AttachmentsInterface.php, line 22

Class

AttachmentsInterface
Defines an interface for responses that can expose #attached metadata.

Namespace

Drupal\Core\Render

Code

public function getAttachments();

© 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!AttachmentsInterface.php/function/AttachmentsInterface::getAttachments/8.1.x