You are here

function toc_filter_menu in TOC filter 7

Same name and namespace in other branches
  1. 6 toc_filter.module \toc_filter_menu()

Implements hook_menu().

File

./toc_filter.module, line 27
Converts header tags into a linked table of contents.

Code

function toc_filter_menu() {
  $items = array();
  $items['admin/config/content/toc_filter'] = array(
    'title' => '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;
}