function footable_libraries_info in FooTable 7.2
Implements hook_libraries_info().
File
- ./
footable.module, line 112 - Provides Views integration for the jQuery FooTable plugin.
Code
function footable_libraries_info() {
$libraries['footable'] = array(
'name' => 'FooTable',
'vendor url' => 'https://github.com/fooplugins/FooTable',
'download url' => 'https://github.com/fooplugins/FooTable/tags',
'version arguments' => array(
'file' => 'footable.min.js',
// FooTable 3.x.
'pattern' => '#version ([0-9\\.a-z]+)#',
'lines' => 10,
),
'variants' => array(
'standalone_source' => array(
'files' => array(
'js' => array(
'footable.js',
),
'css' => array(
'footable.standalone.css',
),
),
),
'standalone_minified' => array(
'files' => array(
'js' => array(
'footable.min.js',
),
'css' => array(
'footable.standalone.min.css',
),
),
),
'bootstrap_source' => array(
'files' => array(
'js' => array(
'footable.js',
),
'css' => array(
'footable.bootstrap.css',
),
),
),
'bootstrap_minified' => array(
'files' => array(
'js' => array(
'footable.min.js',
),
'css' => array(
'footable.bootstrap.min.css',
),
),
),
),
);
return $libraries;
}