public function PageAttachmentsEvent::setAttachments in Hook Event Dispatcher 8
Set the attachments.
Parameters
array $attachments: The attachments array.
File
- src/
Event/ Page/ PageAttachmentsEvent.php, line 47
Class
- PageAttachmentsEvent
- Class PageAttachmentsEvent.
Namespace
Drupal\hook_event_dispatcher\Event\PageCode
public function setAttachments(array $attachments) {
$this->attachments = $attachments;
}