You are here

public function AttachmentsInterface::getAttachments in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Render/AttachmentsInterface.php \Drupal\Core\Render\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();