You are here

function spaces_shoutbox_menu in Spaces 5.2

Same name and namespace in other branches
  1. 5 spaces_shoutbox/spaces_shoutbox.module \spaces_shoutbox_menu()

Implementation of hook_menu()

File

spaces_shoutbox/spaces_shoutbox.module, line 51

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;
}