You are here

function mailchimp_libraries_info in Mailchimp 7.5

Same name and namespace in other branches
  1. 7.2 mailchimp.module \mailchimp_libraries_info()
  2. 7.3 mailchimp.module \mailchimp_libraries_info()
  3. 7.4 mailchimp.module \mailchimp_libraries_info()

Implements hook_libraries_info().

File

./mailchimp.module, line 23
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;
}