function AttachmentsInterface::getAttachments
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Render/AttachmentsInterface.php \Drupal\Core\Render\AttachmentsInterface::getAttachments()
- 10 core/lib/Drupal/Core/Render/AttachmentsInterface.php \Drupal\Core\Render\AttachmentsInterface::getAttachments()
- 11.x 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\RenderCode
public function getAttachments();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.