function mailchimp_libraries_info in Mailchimp 7.4
Same name and namespace in other branches
- 7.5 mailchimp.module \mailchimp_libraries_info()
- 7.2 mailchimp.module \mailchimp_libraries_info()
- 7.3 mailchimp.module \mailchimp_libraries_info()
Implements hook_libraries_info().
File
- ./
mailchimp.module, line 22 - Mailchimp module.
Code
function mailchimp_libraries_info() {
$libraries['mailchimp'] = array(
'name' => 'Mailchimp API',
'vendor url' => 'https://github.com/thinkshout/mailchimp-api-php',
'download url' => 'https://github.com/thinkshout/mailchimp-api-php/releases/download/v1.0.10/v1.0.10-package.zip',
'version arguments' => array(
'file' => 'composer.json',
'pattern' => '/"version": "([0-9a-zA-Z.-]+)"/',
),
'files' => array(
'php' => array(
'src/Mailchimp.php',
'src/MailchimpAPIException.php',
'src/MailchimpCampaigns.php',
'src/MailchimpConnectedSites.php',
'src/MailchimpLists.php',
'src/MailchimpReports.php',
'src/MailchimpTemplates.php',
'vendor/autoload.php',
),
),
);
return $libraries;
}