You are here

function popup_onload_page_attachments in Popup On Load 8

Implements hook_page_attachments().

File

./popup_onload.module, line 109
Contains main popup_onload hooks and functions.

Code

function popup_onload_page_attachments(array &$page) {

  // Attach popup onload library.
  $page['#attached']['library'][] = 'popup_onload/popup-onload';
}