function jquery_update_get_replacements in jQuery Update 6.2
Same name and namespace in other branches
- 6 jquery_update.module \jquery_update_get_replacements()
Array of jQuery files to replace if jQuery is loaded.
1 call to jquery_update_get_replacements()
- jquery_update_jquery_update_alter in ./
jquery_update.module - Implements hook_jquery_update_alter().
File
- ./
jquery_update.module, line 40 - Updates Drupal to use the latest version of jQuery.
Code
function jquery_update_get_replacements() {
return array(
'module' => array(
'misc/farbtastic/farbtastic.js' => 'farbtastic.js',
'misc/teaser.js' => 'teaser.js',
'misc/jquery.form.js' => 'jquery.form.js',
'misc/ahah.js' => 'ahah.js',
// Certain versions of Views re-add tabledrag.js as $type 'module'.
'misc/tabledrag.js' => 'tabledrag.js',
),
'core' => array(
'misc/tabledrag.js' => 'tabledrag.js',
),
);
}