You are here

function om_tools_menu in OM Tools 6

Same name and namespace in other branches
  1. 8.2 om_tools.module \om_tools_menu()
  2. 8 om_tools.module \om_tools_menu()
  3. 6.2 om_tools.module \om_tools_menu()
  4. 7.2 om_tools.module \om_tools_menu()
  5. 7 om_tools.module \om_tools_menu()

Implementation of hook_menu().

File

./om_tools.module, line 13
This is a collection of OM Tools.

Code

function om_tools_menu() {
  $items = array();
  $items['admin/settings/om_tools'] = array(
    'title' => t('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' => t(''),
  );
  $items['user/login-register'] = array(
    'title' => t(''),
    'page callback' => 'user_login_register',
    'access callback' => 'user_access',
    'access arguments' => array(
      'access content',
    ),
    'type' => MENU_CALLBACK,
    'description' => t(''),
  );
  return $items;
}