function spaces_shoutbox_menu in Spaces 5
Same name and namespace in other branches
- 5.2 spaces_shoutbox/spaces_shoutbox.module \spaces_shoutbox_menu()
Implementation of hook_menu()
File
- spaces_shoutbox/
spaces_shoutbox.module, line 46
Code
function spaces_shoutbox_menu($may_cache) {
$items = array();
if ($may_cache) {
$items[] = array(
'path' => 'js/shoutbox',
'description' => t('Shoutbox AJAX submission callback.'),
'callback' => 'spaces_shoutbox_ajax',
'access' => user_access('access content'),
'type' => MENU_CALLBACK,
);
}
return $items;
}