You are here

function messaging_xmpp_menu in Messaging 6.4

Same name and namespace in other branches
  1. 6.2 messaging_xmpp/messaging_xmpp.module \messaging_xmpp_menu()
  2. 6.3 messaging_xmpp/messaging_xmpp.module \messaging_xmpp_menu()

Implementation of hook_menu()

File

messaging_xmpp/messaging_xmpp.module, line 38
XMPP Messsaging. Messaging method plug-in

Code

function messaging_xmpp_menu() {
  $items['admin/messaging/settings/method/xmpp'] = array(
    'title' => 'XMPP',
    'description' => 'XMPP settings',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'messaging_xmpp_settings_form',
    ),
    'access arguments' => array(
      'administer messaging',
    ),
    'type' => MENU_LOCAL_TASK,
  );
  return $items;
}