function _cookie_content_blocker_filter_process in Cookie Content Blocker 7
Process callback for the Cookie content blocker text filter.
Parameters
string $text: The text being processed.
object $filter: The filter.
object $format: The format the text is being processed in.
string $langcode: The language code.
bool $cache: Whether the filtered text can be cached.
string $cache_id: The cache ID.
Return value
string The filtered text.
1 string reference to '_cookie_content_blocker_filter_process'
- cookie_content_blocker_filter_info in ./
cookie_content_blocker.module - Implements hook_filter_info().
File
- ./
cookie_content_blocker.module, line 392 - Contains the main module code for Cookie content blocker.
Code
function _cookie_content_blocker_filter_process($text, $filter, $format, $langcode, $cache, $cache_id) {
if (empty($text)) {
return $text;
}
return _cookie_content_blocker_replace_tags($text);
}