You are here

function mixitup_views_libraries_info in MixItUp Views 7

Implements hook_libraries_info().

File

./mixitup_views.module, line 11
Provides a Views style plugin for displaying content with Mixitup filtering.

Code

function mixitup_views_libraries_info() {
  $libraries['mixitup'] = array(
    'name' => 'MixItUp',
    'vendor url' => 'https://mixitup.kunkalabs.com/',
    'download url' => 'https://mixitup.kunkalabs.com/',
    'version arguments' => array(
      'file' => 'jquery.mixitup.min.js',
      'pattern' => '/MixItUp\\s+v?([0-9\\.]+)/',
      'lines' => 2,
      'cols' => 30,
    ),
    'files' => array(
      'js' => array(
        'jquery.mixitup.min.js',
      ),
    ),
  );
  return $libraries;
}