function disqus_libraries_info in Disqus 7
Implements hook_libraries_info().
File
- ./
disqus.module, line 844 - The Disqus Drupal module.
Code
function disqus_libraries_info() {
$libraries['disqusapi'] = array(
'name' => 'Disqus PHP API',
'vendor url' => 'https://github.com/disqus/disqus-php',
'download url' => 'https://github.com/disqus/disqus-php',
'version arguments' => array(
'file' => 'disqusapi.php',
'pattern' => '@version\\s+([0-9a-zA-Z\\.-]+)@',
'lines' => 20,
),
'files' => array(
'php' => array(
'disqusapi.php',
),
),
);
return $libraries;
}