function disable_messages_menu in Disable Messages 7
Same name and namespace in other branches
- 6 disable_messages.module \disable_messages_menu()
Implements hook_menu().
File
- ./
disable_messages.module, line 69 - The disable_messages module file.
Code
function disable_messages_menu() {
$items = array();
$items['admin/config/development/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;
}