You are here

function geshifilter_process_callback in GeSHi Filter for syntax highlighting 7

Process callback for the GeSHi filter.

1 string reference to 'geshifilter_process_callback'
geshifilter_filter_info in ./geshifilter.module
Implements hook_filter_info().

File

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

Code

function geshifilter_process_callback($text, $filter) {
  require_once drupal_get_path('module', 'geshifilter') . '/geshifilter.pages.inc';
  return _geshifilter_process($filter->format, $text);
}