You are here

function qtip_libraries_info in qTip (Stylish jQuery Tooltips) 7.2

Implements hook_libraries_info().

File

./qtip.module, line 281

Code

function qtip_libraries_info() {
  $libraries['qtip'] = array(
    'name' => 'qTip',
    'vendor url' => 'http://www.qtip2.com',
    'download url' => 'http://www.qtip2.com/download',
    'version arguments' => array(
      'file' => 'jquery.qtip.min.js',
      'pattern' => '/\\/\\* qTip2 v([0-9\\.]{5})/',
      'lines' => 1,
    ),
    'files' => array(
      'js' => array(
        'jquery.qtip.min.js',
      ),
      'css' => array(
        'jquery.qtip.min.css',
      ),
    ),
    'variants' => array(
      'minified' => array(
        'files' => array(
          'js' => array(
            'jquery.qtip.min.js',
          ),
          'css' => array(
            'jquery.qtip.min.css',
          ),
        ),
      ),
      'source' => array(
        'files' => array(
          'js' => array(
            'jquery.qtip.js',
          ),
          'css' => array(
            'jquery.qtip.css',
          ),
        ),
      ),
    ),
    'variant order' => array(
      'minified',
      'source',
    ),
  );
  return $libraries;
}