Implements hook_library_info_alter().
function common_test_library_info_alter(&$libraries, $module) {
if ($module == 'system' && isset($libraries['jquery.farbtastic'])) {
// Change the title of Farbtastic to "Farbtastic: Altered Library".
$libraries['jquery.farbtastic']['title'] = 'Farbtastic: Altered Library';
// Make Farbtastic depend on jQuery Form to test library dependencies.
$libraries['jquery.farbtastic']['dependencies'][] = array(
'system',
'jquery.form',
);
}
}