function farm_map_libraries_info in farmOS 7
Implements hook_libraries_info().
File
- modules/
farm/ farm_map/ farm_map.module, line 75
Code
function farm_map_libraries_info() {
$libraries['farmOS-map'] = array(
'name' => 'farmOS Map',
'vendor url' => 'https://github.com/farmOS/farmOS-map',
'download url' => 'https://github.com/farmOS/farmOS-map/releases',
'version arguments' => array(
'file' => 'farmOS-map.js',
'pattern' => '/farmOS-map v([0-9\\.]+)/',
'lines' => 1,
),
'files' => array(
'js' => array(
'farmOS-map.js',
),
),
);
return $libraries;
}