public function AttachmentsTrait::getAttachments in Drupal 9
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Render/AttachmentsTrait.php \Drupal\Core\Render\AttachmentsTrait::getAttachments()
- 10 core/lib/Drupal/Core/Render/AttachmentsTrait.php \Drupal\Core\Render\AttachmentsTrait::getAttachments()
1 call to AttachmentsTrait::getAttachments()
- AjaxResponse::addCommand in core/
lib/ Drupal/ Core/ Ajax/ AjaxResponse.php - Add an AJAX command to the response.
File
- core/
lib/ Drupal/ Core/ Render/ AttachmentsTrait.php, line 22
Class
- AttachmentsTrait
- Provides an implementation of AttachmentsInterface.
Namespace
Drupal\Core\RenderCode
public function getAttachments() {
return $this->attachments;
}