You are here

function _codefilter_prism_process_php_callback in Code Filter 7

Callback to replace content of the <?php ?> elements.

Parameters

array $matches: An array of preg_matches as defined by preg_replace_callback.

Return value

string Processed text.

1 string reference to '_codefilter_prism_process_php_callback'
_codefilter_process in ./codefilter.module
Implements hook_filter_FILTER_process().

File

modules/codefilter_prism/codefilter_prism.module, line 95
Text filter for highlighting PHP source code.

Code

function _codefilter_prism_process_php_callback($matches) {
  return codefilter_prism_process_php($matches[1]);
}