function moopapi_libraries_info in Module Object Oriented Programming API 7.2
Implements hook_libraries_info().
Return value
An associative array whose keys are internal names of libraries and whose values are describing each library. Each key is the directory name below the 'libraries' directory, in which the library may be found.
File
- ./
moopapi.module, line 43
Code
function moopapi_libraries_info() {
$libraries['patchwork'] = array(
'name' => 'Patchwork library',
'vendor url' => 'http://antecedent.github.com/patchwork',
'download url' => 'https://github.com/antecedent/patchwork',
'version arguments' => array(
'file' => 'README.md',
'pattern' => '@Version ([0-9\\.]+)@',
'lines' => 5,
),
'files' => array(
'php' => array(
'Patchwork.php',
),
),
);
return $libraries;
}