You are here

function panopoly_widgets_page_build in Panopoly Widgets 7

Implements hook_page_build()

File

./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',
  ));
}