You are here

function _tableofcontents_filter_info in Table of Contents 7.2

Implements hook_filter_info().

1 call to _tableofcontents_filter_info()
tableofcontents_filter_info in ./tableofcontents.module
Implements hook_filter_info().

File

./tableofcontents.filters.inc, line 10
Table of Contents - Versatile system for generating Tables of Contents for fields - filters.

Code

function _tableofcontents_filter_info() {
  $filters['filter_toc'] = array(
    'title' => t('Table of contents'),
    'description' => t('Inserts a table of contents in place of [toc ...] tags.'),
    'process callback' => 'tableofcontents_filter_process',
    'prepare callback' => 'tableofcontents_filter_prepare',
    'settings callback' => 'tableofcontents_filter_settings',
    'cache' => FALSE,
    'tips callback' => '_tableofcontents_filter_tips',
  );
  return $filters;
}