1.20.x common_test.module common_test_library_info()

Implements hook_library_info().

Adds Farbtastic in a different version.

File

modules/simpletest/tests/common_test.module, line 294
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;
}