You are here

function gplib_libraries_info in Grammar Parser Library 7

Same name and namespace in other branches
  1. 7.2 gplib.module \gplib_libraries_info()

Implements hook_libraries_info().

2 calls to gplib_libraries_info()
gplib_requirements in ./gplib.install
Implements hook_requirements().
gplib_version_check in ./gplib.module
Indicates whether the installed library code is of the correct version.

File

./gplib.module, line 27
Provides primary Drupal hook implementations.

Code

function gplib_libraries_info() {
  $libraries['grammar_parser'] = array(
    'title' => 'Grammar Parser Library',
    'vendor url' => 'http://drupal.org/project/grammar_parser',
    'download url' => 'http://drupal.org/project/grammar_parser',
    'version arguments' => array(
      'file' => 'CHANGELOG.txt',
      'pattern' => '/pgp \\(grammar parser\\) (\\d+\\.x-\\d+\\.x)/',
    ),
    'versions' => array(
      '7.x-1.x' => array(),
    ),
    'files' => array(
      'php' => array(
        'engine/parser.inc',
        'engine/editor.inc',
        'engine/list.inc',
        'engine/object.inc',
        'engine/reader.inc',
        'engine/writer.inc',
      ),
    ),
  );
  return $libraries;
}