function jammer_messages_menu in Jammer 6
Same name and namespace in other branches
- 7 jammer_messages.module \jammer_messages_menu()
Implements hook_menu().
Return value
An array of menu items.
File
- ./
jammer_messages.module, line 34 - Filter status messages set by drupal_set_message().
Code
function jammer_messages_menu() {
$items = array();
$items['admin/settings/jammer/jammer_messages'] = array(
'title' => 'Message Jammer',
'description' => 'Filter status messages.',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'_jammer_messages_settings',
),
'access arguments' => array(
'administer site configuration',
),
);
$items['admin/settings/jammer/jammer_messages/delete/%jammer_message'] = array(
'title' => 'Message jammer delete',
'description' => 'Delete filter on status messages.',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'jammer_messages_settings_confirm_delete',
5,
),
'access arguments' => array(
'administer site configuration',
),
'type' => MENU_CALLBACK,
);
return $items;
}