function panopoly_widgets_page_build in Panopoly 7
Implements hook_page_build()
File
- modules/
panopoly/ panopoly_widgets/ panopoly_widgets.module, line 99
Code
function panopoly_widgets_page_build(&$page) {
// Add our custom javascript to the footer to override other things.
drupal_add_js(drupal_get_path('module', 'panopoly_widgets') . '/panopoly-widgets.js', array(
'scope' => 'footer',
));
drupal_add_js(drupal_get_path('module', 'panopoly_widgets') . '/panopoly-widgets-spotlight.js', array(
'scope' => 'footer',
));
}