function block_filter_filter_block_filter_process in Block Filter 7
Implements hook_filter_FILTER_process().
1 string reference to 'block_filter_filter_block_filter_process'
- block_filter_filter_info in ./
block_filter.module - Implements hook_filter_info().
File
- ./
block_filter.module, line 27 - Block Filter provides a simple input filter to allow an editor (with permission) to embed any block on the site into the content
Code
function block_filter_filter_block_filter_process($text, $filter, $format, $langcode, $cache, $cache_id) {
return preg_replace_callback('#\\[block:(.+):(.+)]#sU', 'block_filter_embed', $text);
}