function tableofcontents_filter_process in Table of Contents 7.2
Implements hook_filter_FILTER_process(). (sort of)
1 string reference to 'tableofcontents_filter_process'
- _tableofcontents_filter_info in ./
tableofcontents.filters.inc - Implements hook_filter_info().
File
- ./
tableofcontents.module, line 57 - This is a filter module to generate a collapsible jquery enabled mediawiki style table of contents based on <h[1-6]> tags. Transforms header tags into named anchors.
Code
function tableofcontents_filter_process($text, $filter, $format, $langcode, $cache, $cache_id) {
module_load_include('filter.inc', 'tableofcontents');
return _tableofcontents_filter_process($text, $filter, $format, $langcode, $cache, $cache_id);
}