You are here

function postmark_libraries_info in Postmark 7

Implementation of hook_libraries_info().

File

./postmark.module, line 45
This module allows for the inclusion of Postmark as the native Drupal mail handler using the new Drupal mail system interface.

Code

function postmark_libraries_info() {
  $libraries['postmark-php'] = array(
    'name' => 'Postmark PHP',
    'vendor url' => 'http://www.mimmin.com/',
    'download url' => 'https://github.com/Znarkus/postmark-php',
    'version arguments' => array(
      'file' => 'CHANGELOG.md',
      'pattern' => '/## (.*)/',
      'lines' => 5,
    ),
    'versions' => array(
      '0.4.5' => array(
        'files' => array(
          'php' => array(
            'Postmark.php',
          ),
        ),
      ),
      '0.5' => array(
        'files' => array(
          'php' => array(
            'src/Postmark/Mail.php',
          ),
        ),
      ),
    ),
  );
  return $libraries;
}