You are here

function headinganchors_help in Table of Contents 5.2

Same name and namespace in other branches
  1. 5 headinganchors.module \headinganchors_help()
  2. 6.2 headinganchors.module \headinganchors_help()

Implementation of hook_help().

File

./headinganchors.module, line 25
This is a module which takes headings and adds id attributes to them to allow them to be linked to in a URL. The following rules are used to create an attribute:

Code

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

      // This description is shown in the listing at admin/modules.
      return t('A module to create named anchors based on HTML headings.');
  }
}