You are here

function notifications_widget_page_attachments in Notifications widget 8

Implements hook_page_attachments().

File

./notifications_widget.module, line 172
Contains notifications_widget.module.

Code

function notifications_widget_page_attachments(array &$attachments) {
  $attachments['#attached']['library'][] = 'notifications_widget/drupal.notifications';
}