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