function mailchimp_libraries_info in Mailchimp 7.3
Same name and namespace in other branches
- 7.5 mailchimp.module \mailchimp_libraries_info()
- 7.2 mailchimp.module \mailchimp_libraries_info()
- 7.4 mailchimp.module \mailchimp_libraries_info()
Implements hook_libraries_info().
File
- ./
mailchimp.module, line 20 - Mailchimp module.
Code
function mailchimp_libraries_info() {
$libraries['mailchimp'] = array(
'name' => 'MailChimp MCAPI',
'vendor url' => 'http://apidocs.mailchimp.com/api/2.0',
'download url' => 'https://bitbucket.org/mailchimp/mailchimp-api-php/get/2.0.6.zip',
'path' => 'src',
'version arguments' => array(
'file' => 'composer.json',
// Version 2.0.6
'pattern' => '/\\"version": \\"((\\d+)\\.(\\d+)\\.(\\d+))\\",/',
),
'files' => array(
'php' => array(
'Mailchimp.php',
),
),
);
return $libraries;
}