You are here

function flot_axislabels_library_info_alter in Flot 8

Implements hook(library_info_alter().

File

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

Code

function flot_axislabels_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_axislabels/axislabels';
  }
}