function geshifilter_libraries_info in GeSHi Filter for syntax highlighting 7
Same name and namespace in other branches
- 8.2 geshifilter.module \geshifilter_libraries_info()
- 8 geshifilter.module \geshifilter_libraries_info()
Implements hook_libraries_info().
File
- ./
geshifilter.module, line 284 - An input filter for syntax highlighting using the GeSHi library.
Code
function geshifilter_libraries_info() {
return array(
'geshi' => array(
'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' => array(
'file' => 'geshi.php',
'pattern' => "/define\\('GESHI_VERSION', '(.*)'\\);/",
'lines' => 50,
),
'files' => array(
'php' => array(
'geshi.php',
),
),
),
);
}