Server : Apache System : Linux copper.netcy.com 2.6.32-754.27.1.el6.centos.plus.x86_64 #1 SMP Thu Jan 30 13:54:25 UTC 2020 x86_64 User : montcaro ( 581) PHP Version : 7.4.28 Disable Function : NONE Directory : /home/montcaro/public_html/modules/overlay/ |
<?php /** * @file * Hooks provided by Overlay module. */ /** * @addtogroup hooks * @{ */ /** * Allow modules to act when an overlay parent window is initialized. * * The parent window is initialized when a page is displayed in which the * overlay might be required to be displayed, so modules can act here if they * need to take action to accommodate the possibility of the overlay appearing * within a Drupal page. */ function hook_overlay_parent_initialize() { // Add our custom JavaScript. drupal_add_js(drupal_get_path('module', 'hook') . '/hook-overlay.js'); } /** * Allow modules to act when an overlay child window is initialized. * * The child window is initialized when a page is displayed from within the * overlay, so modules can act here if they need to take action to work from * within the confines of the overlay. */ function hook_overlay_child_initialize() { // Add our custom JavaScript. drupal_add_js(drupal_get_path('module', 'hook') . '/hook-overlay-child.js'); } /** * @} End of "addtogroup hooks". */