You are here

function tableofcontents_help in Table of Contents 7

Same name and namespace in other branches
  1. 5.2 tableofcontents.module \tableofcontents_help()
  2. 5 tableofcontents.module \tableofcontents_help()
  3. 6.3 tableofcontents.module \tableofcontents_help()
  4. 6.2 tableofcontents.module \tableofcontents_help()
  5. 7.2 tableofcontents.module \tableofcontents_help()

Implementation of hook_help().

File

./tableofcontents.module, line 59
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_help($section) {
  switch ($section) {
    case 'admin/modules#description':
      return t('A module to create a table of contents based on HTML header tags. Changes headers to anchors for processing so it may be incompatible with other filters that process header tags. It does use existing IDs on the header tags if already present and only operates on header levels 1 - 6.');
  }
}