function AttachmentsInterface::getAttachments

Same name in other branches
  1. 9 core/lib/Drupal/Core/Render/AttachmentsInterface.php \Drupal\Core\Render\AttachmentsInterface::getAttachments()
  2. 8.9.x core/lib/Drupal/Core/Render/AttachmentsInterface.php \Drupal\Core\Render\AttachmentsInterface::getAttachments()
  3. 11.x core/lib/Drupal/Core/Render/AttachmentsInterface.php \Drupal\Core\Render\AttachmentsInterface::getAttachments()

Gets this object's attached collection.

Return value

array The attachments array.

File

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

Class

AttachmentsInterface
The attached metadata collection for a renderable element.

Namespace

Drupal\Core\Render

Code

public function getAttachments();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.