1 common_test.module | common_test_library_info() |
Implements hook_library_info().
Adds Farbtastic in a different version.
File
- core/
modules/ simpletest/ tests/ common_test.module, line 281 - Helper module for the Common tests.
Code
function common_test_library_info() {
$libraries['farbtastic'] = array(
'title' => 'Custom Farbtastic Library',
'website' => 'http://code.google.com/p/farbtastic/',
'version' => '5.3',
'js' => array(
'core/misc/farbtastic/farbtastic.js' => array(),
),
'css' => array(
'core/misc/farbtastic/farbtastic.css' => array(),
),
);
return $libraries;
}