function responsive_background_preprocess_page in Responsive Background Images 7
Implements hook_process_html().
Initialize the trigger for responsive background
File
- ./
responsive_background.module, line 91
Code
function responsive_background_preprocess_page(&$vars) {
global $_responsive_background_set;
$settings = $_responsive_background_set;
if ($settings['enabled'] && !drupal_match_path($_GET['q'], $settings['exclude'])) {
drupal_add_js('sites/all/libraries/jquery.cycle/jquery.cycle.all.min.js');
}
}