function rest_server_libraries_info in Services 7.3
Implements hook_libraries_info().
1 call to rest_server_libraries_info()
- rest_server_requirements in servers/
rest_server/ rest_server.install - Implements hook_requirements().
File
- servers/
rest_server/ rest_server.module, line 178
Code
function rest_server_libraries_info() {
$libraries['spyc'] = array(
'name' => 'Spyc',
'vendor url' => 'https://github.com/mustangostang/spyc',
'download url' => 'https://raw.github.com/mustangostang/spyc/0.6.2/Spyc.php',
'version arguments' => array(
'file' => 'Spyc.php',
'pattern' => '@version\\s+([0-9a-zA-Z\\.-]+)@',
),
'files' => array(
'php' => array(
'Spyc.php',
),
),
);
return $libraries;
}