You are here

function flexslider_library in Flex Slider 7

Same name and namespace in other branches
  1. 7.2 flexslider.module \flexslider_library()

Implements hook_library(). @author minorOffense <mwinstone@coldfrontlabs.ca>

File

./flexslider.module, line 11
A light-weight, customizable image gallery plugin for Drupal based on jQuery

Code

function flexslider_library() {
  $libraries['flexslider'] = array(
    'title' => 'FlexSlider',
    'website' => 'http://flex.madebymufffin.com/',
    'version' => '1.8',
    'js' => array(
      libraries_get_path('flexslider') . '/jquery.flexslider-min.js' => array(),
    ),
    'css' => array(
      libraries_get_path('flexslider') . '/flexslider.css' => array(
        'type' => 'file',
        'media' => 'screen',
      ),
      drupal_get_path('module', 'flexslider') . '/assets/css/flexslider_img.css' => array(
        'type' => 'file',
        'media' => 'screen',
      ),
    ),
  );
  return $libraries;
}