You are here

function date_popup_timepicker_libraries_info in Date Popup Timepicker 7

Implements hook_libraries_info().

File

./date_popup_timepicker.module, line 101
Date popup timepicker.

Code

function date_popup_timepicker_libraries_info() {
  ctools_include('plugins');
  $libraries = array();
  $timepickers = date_popup_timepicker_get_timepicker_plugins();
  foreach ($timepickers as $info) {
    $class = ctools_plugin_get_class($info, 'handler');
    $handler = new $class();
    $libraries = array_merge($libraries, $handler
      ->librariesInfo());
  }
  return $libraries;
}