You are here

public function PageAttachmentsEvent::__construct in Hook Event Dispatcher 8

PageAttachmentsEvent constructor.

Parameters

array $attachments: The attachments array.

File

src/Event/Page/PageAttachmentsEvent.php, line 27

Class

PageAttachmentsEvent
Class PageAttachmentsEvent.

Namespace

Drupal\hook_event_dispatcher\Event\Page

Code

public function __construct(array &$attachments) {
  $this->attachments =& $attachments;
}