You are here

function securepages_menu in Secure Pages 7

Same name and namespace in other branches
  1. 5 securepages.module \securepages_menu()
  2. 6.2 securepages.module \securepages_menu()
  3. 6 securepages.module \securepages_menu()

Implements hook_menu().

File

./securepages.module, line 57
Allows certain pages to be viewable only via HTTPS.

Code

function securepages_menu() {
  $items = array();
  $items['admin/config/system/securepages'] = array(
    'title' => 'Secure Pages',
    'description' => 'Configure which pages are and are not to be viewed in SSL',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'securepages_settings',
    ),
    'access arguments' => array(
      'administer site configuration',
    ),
    'type' => MENU_NORMAL_ITEM,
    'file' => 'securepages.admin.inc',
  );
  return $items;
}