You are here

function _flot_get_library_path in Flot 7

2 calls to _flot_get_library_path()
flot_add_js in ./flot.module
Helper to add flot's js
flot_requirements in ./flot.module
Implements hook_requirements().

File

./flot.module, line 292

Code

function _flot_get_library_path() {
  if (module_exists('libraries') && libraries_get_path('flot')) {
    $path = libraries_get_path('flot');
  }
  if (!isset($path)) {
    $path = drupal_get_path('module', 'flot') . '/flot';
  }
  return $path;
}