You are here

function promote_disable_menu in Promote Disable 7

Implements hook_menu().

File

./promote_disable.module, line 15
Primarily Drupal hooks and helper functions. This is the main module file for Promote Disable.

Code

function promote_disable_menu() {
  $items = array();
  $items['admin/config/content/promote_disable'] = array(
    'title' => 'Promote disable',
    'description' => 'Configuration for Promote disable module.',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'promote_disable_form',
    ),
    'access arguments' => array(
      'administer content types',
    ),
    'type' => MENU_NORMAL_ITEM,
  );
  return $items;
}