annotate modules/overlay/overlay.api.php @ 13:134d4b2e75f6

updated quicktabs and google analytics modules
author danieleb <danielebarchiesi@me.com>
date Tue, 29 Oct 2013 13:48:59 +0000
parents ff03f76ab3fe
children
rev   line source
danielebarchiesi@0 1 <?php
danielebarchiesi@0 2
danielebarchiesi@0 3 /**
danielebarchiesi@0 4 * @file
danielebarchiesi@0 5 * Hooks provided by Overlay module.
danielebarchiesi@0 6 */
danielebarchiesi@0 7
danielebarchiesi@0 8 /**
danielebarchiesi@0 9 * @addtogroup hooks
danielebarchiesi@0 10 * @{
danielebarchiesi@0 11 */
danielebarchiesi@0 12
danielebarchiesi@0 13 /**
danielebarchiesi@0 14 * Allow modules to act when an overlay parent window is initialized.
danielebarchiesi@0 15 *
danielebarchiesi@0 16 * The parent window is initialized when a page is displayed in which the
danielebarchiesi@0 17 * overlay might be required to be displayed, so modules can act here if they
danielebarchiesi@0 18 * need to take action to accommodate the possibility of the overlay appearing
danielebarchiesi@0 19 * within a Drupal page.
danielebarchiesi@0 20 */
danielebarchiesi@0 21 function hook_overlay_parent_initialize() {
danielebarchiesi@0 22 // Add our custom JavaScript.
danielebarchiesi@0 23 drupal_add_js(drupal_get_path('module', 'hook') . '/hook-overlay.js');
danielebarchiesi@0 24 }
danielebarchiesi@0 25
danielebarchiesi@0 26 /**
danielebarchiesi@0 27 * Allow modules to act when an overlay child window is initialized.
danielebarchiesi@0 28 *
danielebarchiesi@0 29 * The child window is initialized when a page is displayed from within the
danielebarchiesi@0 30 * overlay, so modules can act here if they need to take action to work from
danielebarchiesi@0 31 * within the confines of the overlay.
danielebarchiesi@0 32 */
danielebarchiesi@0 33 function hook_overlay_child_initialize() {
danielebarchiesi@0 34 // Add our custom JavaScript.
danielebarchiesi@0 35 drupal_add_js(drupal_get_path('module', 'hook') . '/hook-overlay-child.js');
danielebarchiesi@0 36 }
danielebarchiesi@0 37
danielebarchiesi@0 38 /**
danielebarchiesi@0 39 * @} End of "addtogroup hooks".
danielebarchiesi@0 40 */