You are here

function access_unpublished_menu in Access unpublished 7

Same name and namespace in other branches
  1. 6 access_unpublished.module \access_unpublished_menu()

Implements hook_menu().

File

./access_unpublished.module, line 15
Drupal module: Access unpublished.

Code

function access_unpublished_menu() {

  // This provides hash URL parameter setting.
  $items['admin/config/content/access_unpublished'] = array(
    'title' => 'Access unpublished',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'access_unpublished_url_param_form',
    ),
    'access arguments' => array(
      'access unpublished configuration',
    ),
    'file' => 'access_unpublished.admin.inc',
    'type' => MENU_NORMAL_ITEM,
  );
  return $items;
}