You are here

function patterns_yamlparser_libraries_info in Patterns 7

Same name and namespace in other branches
  1. 7.2 patterns_yamlparser/patterns_yamlparser.module \patterns_yamlparser_libraries_info()

Implements hook_libraries_info().

File

patterns_yamlparser/patterns_yamlparser.module, line 22

Code

function patterns_yamlparser_libraries_info() {
  $libraries['spyc'] = array(
    'name' => 'Spyc (A simple YAML loader/dumper class for PHP)',
    'vendor url' => 'https://code.google.com/p/spyc/',
    'download url' => 'https://github.com/mustangostang/spyc/',
    'version arguments' => array(
      'file' => 'Spyc.php',
      'pattern' => '@version\\s+([0-9a-zA-Z\\.-]+)@',
    ),
    'files' => array(
      'php' => array(
        'Spyc.php',
      ),
    ),
  );
  return $libraries;
}