public function PageAttachmentsEvent::getAttachments in Hook Event Dispatcher 3.x
Same name and namespace in other branches
- 8.2 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;
}