function theme_backstretch in Backstretch 7.2
Theme function for a Backstretch.
2 theme calls to theme_backstretch()
File
- ./
backstretch.module, line 439 - Main file for Backstretch Formatter module.
Code
function theme_backstretch($variables) {
// Normalize the variables.
$id = $variables['id'];
$options = $variables['options'];
drupal_add_js(drupal_get_path('module', 'backstretch') . '/js/jquery.backstretch.min.js');
drupal_add_js(drupal_get_path('module', 'backstretch') . '/js/backstretch.js');
drupal_add_js(array(
'backstretch' => array(
$id => $options,
),
), 'setting');
return '';
}