You are here

function securepages_menu in Secure Pages 6

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

Implementation of hook_menu().

File

./securepages.module, line 69
Provide method of creating allowing certain pages to only viewable from https pages

Code

function securepages_menu() {
  $items = array();
  $items['admin/build/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,
    'secure' => 1,
    'file' => 'securepages.admin.inc',
  );
  return $items;
}