You are here

function simplehtmldom_libraries_info in simplehtmldom API 8.2

Same name and namespace in other branches
  1. 7.2 simplehtmldom.module \simplehtmldom_libraries_info()

Implements hook_libraries_info().

File

./simplehtmldom.module, line 27
Include the only file of the library.

Code

function simplehtmldom_libraries_info() {
  $libraries['simplehtmldom'] = array(
    'name' => 'PHP Simple HTML DOM Parser',
    'vendor url' => 'http://simplehtmldom.sourceforge.net',
    'download url' => 'http://sourceforge.net/projects/simplehtmldom/files/',
    'version arguments' => array(
      'file' => 'simple_html_dom.php',
      'pattern' => '/version ([0-9\\.]+)/',
      'lines' => 40,
    ),
    'files' => array(
      'php' => array(
        'simple_html_dom.php',
      ),
    ),
  );
  return $libraries;
}