public function PageAttachmentsEvent::getAttachments in Hook Event Dispatcher 8.2
Same name and namespace in other branches
- 3.x modules/core_event_dispatcher/src/Event/Theme/PageAttachmentsEvent.php \Drupal\core_event_dispatcher\Event\Theme\PageAttachmentsEvent::getAttachments()
Get the attachments array.
Return value
array The attachments array.
File
- modules/
core_event_dispatcher/ src/ Event/ Theme/ PageAttachmentsEvent.php, line 37
Class
- PageAttachmentsEvent
- Class PageAttachmentsEvent.
Namespace
Drupal\core_event_dispatcher\Event\ThemeCode
public function &getAttachments() : array {
return $this->attachments;
}