You are here

function hsts_menu in HTTP Strict Transport Security 6

Same name and namespace in other branches
  1. 7 hsts.module \hsts_menu()

Implements hook_menu().

File

./hsts.module, line 41
Main module file for hsts.

Code

function hsts_menu() {
  $items = array();
  $items['admin/settings/hsts'] = array(
    'title' => 'HTTP Strict Transport Security Settings',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'hsts_admin_settings_form',
    ),
    'access callback' => 'user_access',
    'access arguments' => array(
      'administer strict transport security',
    ),
    'file' => 'hsts.admin.inc',
  );
  return $items;
}