function headinganchors_help in Table of Contents 5
Same name and namespace in other branches
- 5.2 headinganchors.module \headinganchors_help()
- 6.2 headinganchors.module \headinganchors_help()
Implementation of hook_help().
File
- ./
headinganchors.module, line 27 - This is a module which takes <h2> and <h3> 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.');
}
}