You are here

function rocket_chat_menu in Rocket.Chat 7.2

Same name and namespace in other branches
  1. 7 rocket_chat.module \rocket_chat_menu()

Implements hook_menu().

See also

\hook_menu()

File

./rocket_chat.module, line 59
Rocket.Chat Livechat Module.

Code

function rocket_chat_menu() {
  $menu = array(
    'title' => 'Rocket.Chat Settings',
    'description' => 'configure the Rocket.Chat module',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'rocket_chat_admin_page',
    ),
    'access arguments' => array(
      'rocket_chat admin',
    ),
    'type' => MENU_NORMAL_ITEM,
  );
  $items['admin/config/services/rocket_chat'] = $menu;
  return $items;
}