function ajax_register_menu in Ajax Login/Register 7.4
Same name and namespace in other branches
- 6.2 ajax_register.module \ajax_register_menu()
- 6 ajax_register.module \ajax_register_menu()
- 7.3 ajax_register.module \ajax_register_menu()
Implements hook_menu().
File
- ./
ajax_register.module, line 6
Code
function ajax_register_menu() {
$items['ajax_register/%/%ctools_js'] = array(
'page callback' => 'ajax_register_page_callback',
'page arguments' => array(
1,
2,
),
'access callback' => 'ajax_register_page_access',
'access arguments' => array(
1,
2,
),
'delivery callback' => 'ajax_deliver',
'theme callback' => 'ajax_base_page_theme',
'type' => MENU_CALLBACK,
'file' => 'ajax_register.pages.inc',
);
$items['admin/config/user-interface/ajax_register'] = array(
'title' => 'Ajax Register',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'ajax_register_admin_form',
),
'access arguments' => array(
'administer site configuration',
),
'file' => 'ajax_register.admin.inc',
);
return $items;
}