public function PageAttachmentsEvent::__construct 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::__construct()
PageAttachmentsEvent constructor.
Parameters
array $attachments: The attachments array.
File
- modules/
core_event_dispatcher/ src/ Event/ Theme/ PageAttachmentsEvent.php, line 27
Class
- PageAttachmentsEvent
- Class PageAttachmentsEvent.
Namespace
Drupal\core_event_dispatcher\Event\ThemeCode
public function __construct(array &$attachments) {
$this->attachments =& $attachments;
}