You are here

function flot_spider_library_info_alter in Flot 8

Implements hook(library_info_alter().

File

flot_spider/flot_spider.module, line 11
A collection of module hooks for the flot_spider module.

Code

function flot_spider_library_info_alter(&$libraries, $extension) {

  // We need to add this module as a dependency of the flot module.
  if ($extension == "flot") {
    $libraries['flot']['dependencies'][] = 'flot_spider/spider';
  }
}