You are here

function ng_lightbox_page_attachments in NG Lightbox 8

Same name and namespace in other branches
  1. 2.x ng_lightbox.module \ng_lightbox_page_attachments()

Implements hook_page_attachments().

File

./ng_lightbox.module, line 35
The NG Lightbox module.

Code

function ng_lightbox_page_attachments(array &$attachments) {
  $attachments['#attached']['library'][] = 'ng_lightbox/ng_lightbox';
}