You are here

public function DatePopupTimepickerTimepicker::librariesInfo in Date Popup Timepicker 7

Library definition for libraries module.

Return value

array Library definition.

Overrides DatePopupTimepicker::librariesInfo

See also

hook_libraries_info()

File

plugins/timepicker/timepicker.inc, line 165

Class

DatePopupTimepickerTimepicker
Class DatePopupTimepickerTimepicker.

Code

public function librariesInfo() {
  $libraries = array();
  $libraries['timepicker'] = array(
    'name' => 'jQuery UI Timepicker',
    'vendor url' => 'https://fgelinas.com/code/timepicker',
    'download url' => 'https://fgelinas.com/code/timepicker/releases/jquery-ui-timepicker-0.3.3.zip',
    'version arguments' => array(
      'file' => 'jquery.ui.timepicker.js',
      'pattern' => '/version\\: \\"(\\d\\.\\d.\\d)\\"/',
      'lines' => 43,
    ),
    'files' => array(
      'js' => array(
        'jquery.ui.timepicker.js',
      ),
      'css' => array(
        'jquery.ui.timepicker.css',
      ),
    ),
    'variants' => array(
      'source' => array(
        'files' => array(
          'js' => array(
            'jquery.ui.timepicker.js',
          ),
          'css' => array(
            'jquery.ui.timepicker.css',
          ),
        ),
      ),
    ),
  );
  return $libraries;
}