You are here

function securepages_menu in Secure Pages 6.2

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

Implementation of hook_menu().

File

./securepages.module, line 51
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;
}