function easychart_filter_easychart_process in Easychart 7
Same name and namespace in other branches
- 7.2 easychart.module \easychart_filter_easychart_process()
Process callback for hook_filter
1 string reference to 'easychart_filter_easychart_process'
- easychart_filter_info in ./
easychart.module - Implements hook_filter_info().
File
- ./
easychart.module, line 542 - Easy Chart module file.
Code
function easychart_filter_easychart_process($text, $filter, $format, $langcode, $cache, $cache_id) {
return preg_replace_callback('/\\[\\[chart-nid:(\\d+)(\\s.*)?\\]\\]/', '_easychart_render_node', $text);
}