function shouts_menu in Heartbeat 6.3
Same name and namespace in other branches
- 6.4 modules/shouts/shouts.module \shouts_menu()
Implementation of hook_menu().
File
- modules/
shouts/ shouts.module, line 30 - Gives the possibility to the user to shout a message.
Code
function shouts_menu() {
$items['shout/post'] = array(
'title' => 'Do shout',
'description' => 'Make a shout',
'access arguments' => array(
'make shout',
),
'page callback' => 'shouts_shout_form_submit',
'type' => MENU_CALLBACK,
);
$items['shout/clear'] = array(
'title' => 'Clear shout',
'description' => 'Clear shout',
'access arguments' => array(
'make shout',
),
'page callback' => 'clear_shout',
'type' => MENU_CALLBACK,
);
return $items;
}