You are here

function slick_libraries_info in Slick Carousel 7.2

Same name and namespace in other branches
  1. 7.3 slick.module \slick_libraries_info()

Implements hook_libraries_info().

File

./slick.module, line 79
Slick carousel integration, the last carousel you'll ever need.

Code

function slick_libraries_info() {
  $libraries['slick'] = array(
    'name' => 'Slick carousel',
    'vendor url' => 'http://kenwheeler.github.io/slick/',
    'download url' => 'https://github.com/kenwheeler/slick/releases',
    'version arguments' => array(
      'file' => 'slick/slick.js',
      'pattern' => '@Version:\\s+([0-9a-zA-Z\\.-]+)@',
      'lines' => 16,
    ),
    'files' => array(
      'js' => array(
        'slick/slick.min.js',
      ),
    ),
    'variants' => array(
      'minified' => array(
        'files' => array(
          'js' => array(
            'slick/slick.min.js',
          ),
        ),
      ),
      'source' => array(
        'files' => array(
          'js' => array(
            'slick/slick.js',
          ),
        ),
      ),
    ),
  );
  return $libraries;
}