You are here

function disable_messages_menu in Disable Messages 6

Same name and namespace in other branches
  1. 7 disable_messages.module \disable_messages_menu()

Implementation of hook_menu().

File

./disable_messages.module, line 17

Code

function disable_messages_menu() {
  $items = array();
  $items['admin/settings/disable-messages'] = array(
    'title' => 'Disable messages',
    'description' => 'Configure display of messages to end users.',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'disable_messages_settings_form',
    ),
    'access arguments' => array(
      'administer site configuration',
    ),
    'type' => MENU_NORMAL_ITEM,
  );
  return $items;
}