overlay_library
function overlay_library
overlay_library()
Implements hook_library().
File
- modules/overlay/overlay.module, line 217
- Displays the Drupal administration interface in an overlay.
Code
function overlay_library() { $module_path = drupal_get_path('module', 'overlay'); // Overlay parent. $libraries['parent'] = array( 'title' => 'Overlay: Parent', 'website' => 'http://drupal.org/documentation/modules/overlay', 'version' => '1.0', 'js' => array( $module_path . '/overlay-parent.js' => array(), ), 'css' => array( $module_path . '/overlay-parent.css' => array(), ), 'dependencies' => array( array('system', 'ui'), array('system', 'jquery.bbq'), ), ); // Overlay child. $libraries['child'] = array( 'title' => 'Overlay: Child', 'website' => 'http://drupal.org/documentation/modules/overlay', 'version' => '1.0', 'js' => array( $module_path . '/overlay-child.js' => array(), ), 'css' => array( $module_path . '/overlay-child.css' => array(), ), ); return $libraries; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!overlay!overlay.module/function/overlay_library/7.x