You are here

function ajax_register_menu in Ajax Login/Register 7.3

Same name and namespace in other branches
  1. 6.2 ajax_register.module \ajax_register_menu()
  2. 6 ajax_register.module \ajax_register_menu()
  3. 7.4 ajax_register.module \ajax_register_menu()

Implements hook_menu().

File

./ajax_register.module, line 6

Code

function ajax_register_menu() {
  $items = array();
  $items['ajax_register/%/%'] = array(
    'title' => 'Request new password',
    'page callback' => 'ajax_register_ajax_page_callback',
    'page arguments' => array(
      1,
      2,
    ),
    'access callback' => 'ajax_register_ajax_page_access',
    'access arguments' => array(
      1,
      2,
    ),
    'type' => MENU_CALLBACK,
    'file' => 'ajax_register.pages.inc',
  );
  return $items;
}