function livechat_menu in LiveChat 7
Implements hook_menu().
File
- ./
livechat.module, line 31 - LiveChat module.
Code
function livechat_menu() {
$items['admin/config/services/livechat'] = array(
'title' => 'LiveChat',
'description' => 'Integrate LiveChat with your website.',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'livechat_admin_settings_form',
),
'access arguments' => array(
'administer livechat',
),
'file' => 'livechat.admin.inc',
'type' => MENU_NORMAL_ITEM,
);
$items['admin/config/services/livechat/settings'] = array(
'title' => 'Settings',
'access arguments' => array(
'administer livechat',
),
'type' => MENU_DEFAULT_LOCAL_TASK,
'weight' => -1,
);
$items['admin/config/services/livechat/install'] = array(
'title' => 'Install',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'livechat_admin_license_form',
),
'access arguments' => array(
'administer livechat',
),
'file' => 'livechat.admin.inc',
'type' => MENU_LOCAL_TASK,
);
return $items;
}