function fancy_login_menu in Fancy Login 6.2
Same name and namespace in other branches
- 6 fancy_login.module \fancy_login_menu()
- 7.3 fancy_login.module \fancy_login_menu()
- 7.2 fancy_login.module \fancy_login_menu()
Implementation of hook_menu()
File
- ./
fancy_login.module, line 6
Code
function fancy_login_menu() {
$menu['admin/settings/fancy_login'] = array(
'title' => 'Fancy Login',
'description' => 'Settings for Fancy Login Page',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'fancy_login_settings',
),
'access arguments' => array(
'Administer fancy login',
),
'file' => 'includes/fancy_login.pages.inc',
);
$menu['fancy_login/ajax/%'] = array(
'title' => '',
'page callback' => 'fancy_login_ajax_callback',
'page arguments' => array(
2,
),
'access callback' => 'user_is_anonymous',
'file' => 'includes/fancy_login.pages.inc',
'type' => MENU_CALLBACK,
);
$menu['fancy_login/ahah/%'] = array(
'title' => 'Fancy Login #ahah callback',
'page callback' => 'fancy_login_ahah',
'page arguments' => array(
2,
),
'access callback' => TRUE,
'file' => 'includes/fancy_login.pages.inc',
'type' => MENU_CALLBACK,
);
return $menu;
}