You are here

function htaccess_menu in Htaccess 7

Same name and namespace in other branches
  1. 7.2 htaccess.module \htaccess_menu()

Implementation of hook_menu

File

./htaccess.module, line 36

Code

function htaccess_menu() {
  $items = array();
  $items['admin/config/system/htaccess'] = array(
    'title' => t('htaccess Settings'),
    'description' => t('Set the htaccess settings here'),
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'htaccess_admin',
    ),
    'access arguments' => array(
      'administer htaccess module',
    ),
    'type' => MENU_NORMAL_ITEM,
  );
  $items['admin/config/system/htaccess/main'] = array(
    'title' => t('Main'),
    'type' => MENU_DEFAULT_LOCAL_TASK,
    'weight' => 0,
  );
  return $items;
}