function theme_soundmanager2_config in SoundManager2 7.2
Theme function for adding the SoundManager 2 configuration JS file. Allows others to easily override it.
1 theme call to theme_soundmanager2_config()
- soundmanager2_field_formatter_view in ./
soundmanager2.module - Implements hook_field_formatter_view().
File
- ./
soundmanager2.module, line 619 - Responsible for managing the required SWF and JS files for soundmanager2 to work
Code
function theme_soundmanager2_config() {
drupal_add_js(drupal_get_path('module', 'soundmanager2') . '/soundmanager2_config.js', array(
'type' => 'file',
'scope' => 'footer',
));
}