function ng_lightbox_page_attachments in NG Lightbox 2.x
Same name and namespace in other branches
- 8 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';
}