You are here

function shoutbox_tags_menu in Shoutbox 7

Same name and namespace in other branches
  1. 6.2 shoutbox_tags/shoutbox_tags.module \shoutbox_tags_menu()
  2. 7.2 shoutbox_tags/shoutbox_tags.module \shoutbox_tags_menu()

Implements hook_menu().

File

shoutbox_tags/shoutbox_tags.module, line 6

Code

function shoutbox_tags_menu() {
  return array(
    'shoutbox/tag/%/js/view' => array(
      'title' => 'Shout tag',
      'page callback' => 'shoutbox_tags_js_view',
      'page arguments' => array(
        2,
      ),
      'access arguments' => array(
        'view shouts',
      ),
      'description' => 'Javascript callback for viewing shout tags',
      'type' => MENU_CALLBACK,
    ),
  );
}