You are here

function geshifilter_libraries_info in GeSHi Filter for syntax highlighting 8

Same name and namespace in other branches
  1. 8.2 geshifilter.module \geshifilter_libraries_info()
  2. 7 geshifilter.module \geshifilter_libraries_info()

Implements hook_libraries_info().

File

./geshifilter.module, line 70
An input filter for syntax highlighting using the GeSHi library.

Code

function geshifilter_libraries_info() {
  return [
    'geshi' => [
      'title' => 'GeSHi - Generic Syntax Highlighter for PHP',
      'vendor url' => 'http://sourceforge.net/projects/geshi',
      'download url' => 'http://sourceforge.net/projects/geshi/files/geshi',
      'version arguments' => [
        'file' => 'geshi.php',
        'pattern' => "/define\\('GESHI_VERSION', '(.*)'\\);/",
        'lines' => 50,
      ],
      'files' => [
        'php' => [
          'geshi.php',
        ],
      ],
    ],
  ];
}