You are here

function bxslider_library in BxSlider 7

Implements hook_library().

File

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

Code

function bxslider_library() {
  $module_path = drupal_get_path('module', 'bxslider');
  $library_path = libraries_get_path('bxslider');
  $libraries['bxslider'] = array(
    'title' => 'bxslider',
    'website' => 'http://bxslider.com',
    // 'version' => '4',.
    'js' => array(
      $library_path . '/jquery.bxslider.min.js' => array(
        'scope' => 'footer',
      ),
    ),
    'css' => array(
      $library_path . '/jquery.bxslider.css' => array(
        'type' => 'file',
        'media' => 'screen',
      ),
      $module_path . '/css/bxslider.css' => array(
        'type' => 'file',
        'media' => 'screen',
      ),
    ),
  );
  return $libraries;
}