You are here

function google_calendar_block_libraries_info in Google Calendar Block 7

Same name and namespace in other branches
  1. 7.2 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['zf1'] = array(
    'name' => 'ZF1',
    'vendor url' => 'https://github.com/zendframework/zf1',
    'download url' => 'https://github.com/zendframework/zf1/archive/master.zip',
    'version arguments' => array(
      'file' => 'README.md',
      // Welcome to the Zend Framework 1.12 Release!
      'pattern' => '/Zend Framework (\\d+\\.+\\d+\\d+)/',
      'lines' => 3,
    ),
    'files' => array(
      'php' => array(
        'library/Zend/Loader.php',
      ),
    ),
  );
  return $libraries;
}