You are here

public function AttachmentsTrait::getAttachments in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Render/AttachmentsTrait.php \Drupal\Core\Render\AttachmentsTrait::getAttachments()
  2. 9 core/lib/Drupal/Core/Render/AttachmentsTrait.php \Drupal\Core\Render\AttachmentsTrait::getAttachments()

File

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

Class

AttachmentsTrait
Provides an implementation of AttachmentsInterface.

Namespace

Drupal\Core\Render

Code

public function getAttachments() {
  return $this->attachments;
}