You are here

function bxslider_libraries_info in BxSlider 7

Implements hook_libraries_info().

File

./bxslider.module, line 11
Fields integration with BxSlider.

Code

function bxslider_libraries_info() {
  $libraries['bxslider'] = array(
    'name' => 'bxslider',
    'vendor url' => 'http://bxslider.com/',
    'download url' => 'http://bxslider.com/lib/jquery.bxslider.zip',
    'version arguments' => array(
      'file' => 'jquery.bxslider.min.js',
      // BxSlider v4.x.x.
      'pattern' => '/[b,B]xSlider v(\\d+)/',
      'lines' => 2,
    ),
    'files' => array(
      'js' => array(
        'jquery.bxslider.min.js',
      ),
      'css' => array(
        'jquery.bxslider.css',
      ),
    ),
    'integration files' => array(
      'bxslider' => array(
        'css' => array(
          'css/bxslider.css',
        ),
      ),
    ),
  );
  return $libraries;
}