function om_tools_menu in OM Tools 8
Same name and namespace in other branches
- 8.2 om_tools.module \om_tools_menu()
- 6.2 om_tools.module \om_tools_menu()
- 6 om_tools.module \om_tools_menu()
- 7.2 om_tools.module \om_tools_menu()
- 7 om_tools.module \om_tools_menu()
Implementation of hook_menu().
File
- ./
om_tools.module, line 12 - This is a collection of OM Tools.
Code
function om_tools_menu() {
$items = array();
$items['admin/config/system/om_tools'] = array(
'title' => 'OM Tools',
'page callback' => 'drupal_get_form',
'access callback' => 'user_access',
'access arguments' => array(
'administer om tools',
),
'page arguments' => array(
'om_tools_admin',
),
'type' => MENU_NORMAL_ITEM,
'description' => 'Form Overrides and Other Utilities',
);
$items['user/login-register'] = array(
'title' => '',
'page callback' => 'user_login_register',
'access callback' => 'user_access',
'access arguments' => array(
'access content',
),
'type' => MENU_CALLBACK,
'description' => '',
);
return $items;
}