You are here

function helper_library in Helper 7

Implements hook_library().

File

./helper.module, line 21

Code

function helper_library() {
  $path = drupal_get_path('module', 'helper');
  $libraries['drupal.formatInterval'] = array(
    'title' => 'Drupal.formatInterval() helper',
    'version' => '',
    'js' => array(
      $path . '/js/Drupal.formatInterval.min.js' => array(
        'group' => JS_LIBRARY,
        'weight' => 1,
      ),
    ),
  );
  return $libraries;
}