function thunder_media_page_attachments in Thunder 8.2
Same name and namespace in other branches
- 8.5 modules/thunder_media/thunder_media.module \thunder_media_page_attachments()
- 8.3 modules/thunder_media/thunder_media.module \thunder_media_page_attachments()
- 8.4 modules/thunder_media/thunder_media.module \thunder_media_page_attachments()
- 6.2.x modules/thunder_media/thunder_media.module \thunder_media_page_attachments()
- 6.0.x modules/thunder_media/thunder_media.module \thunder_media_page_attachments()
- 6.1.x modules/thunder_media/thunder_media.module \thunder_media_page_attachments()
Implements hook_page_attachments().
File
- modules/
thunder_media/ thunder_media.module, line 56 - Contains media related functions.
Code
function thunder_media_page_attachments(array &$page) {
$page['#attached']['library'][] = 'thunder_media/gallery';
}