function toc_filter_menu in TOC filter 6
Same name and namespace in other branches
- 7 toc_filter.module \toc_filter_menu()
Implementation of hook_menu().
File
- ./
toc_filter.module, line 25 - Converts header tags into a linked table of contents.
Code
function toc_filter_menu() {
$items = array();
$items['admin/settings/toc_filter'] = array(
'title' => 'TOC filter',
'description' => 'Configure settings for the TOC filter.',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'toc_filter_admin_settings',
),
'access arguments' => array(
'administer site configuration',
),
'file' => 'toc_filter.admin.inc',
'type' => MENU_NORMAL_ITEM,
);
return $items;
}