function common_test_library in SimpleTest 7
Implementation of hook_library().
Adds Farbtastic in a different version.
File
- tests/
common_test.module, line 171 - 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;
}