function google_calendar_block_libraries_info in Google Calendar Block 7.2
Same name and namespace in other branches
- 7 google_calendar_block.module \google_calendar_block_libraries_info()
Implements hook_libraries_info().
File
- ./
google_calendar_block.module, line 18 - A module to provide simple Google Calendar blocks using the Google Data APIs.
Code
function google_calendar_block_libraries_info() {
$libraries['google-api-php-client'] = array(
'name' => 'Google API PHP Client',
'vendor url' => 'https://github.com/google/google-api-php-client',
'download url' => 'https://github.com/google/google-api-php-client/archive/master.zip',
'version arguments' => array(
'file' => 'src/Google/Client.php',
// const LIBVER = "1.1.2";
'pattern' => '/const LIBVER = "(.*?)"/',
'lines' => 30,
),
'files' => array(
'php' => array(
'autoload.php',
),
),
);
return $libraries;
}