You are here

function tableofcontents_help in Table of Contents 5

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

Implementation of hook_help().

File

./tableofcontents.module, line 16
This is a module to generate a table of contents section based on <h[2-3]> tags. It currently depends on the headinganchors.module for hotlinking to work properly. I need to learn how to properly create a module dependancy or redesign to put…

Code

function tableofcontents_help($section) {
  switch ($section) {
    case 'admin/modules#description':

      // This description is shown in the listing at admin/modules.
      return t('A module to create a table of contents based on HTML header tags.');
  }
}