function legal_menu in Legal 6.7
Same name and namespace in other branches
- 5 legal.module \legal_menu()
- 6.8 legal.module \legal_menu()
- 7.2 legal.module \legal_menu()
- 7 legal.module \legal_menu()
Implementation of hook_menu().
File
- ./
legal.module, line 38
Code
function legal_menu() {
$items = array();
$items['admin/settings/legal'] = array(
'title' => 'Legal',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'legal_administration',
),
'access arguments' => array(
'administer Terms and Conditions',
),
'description' => 'Display Terms and Conditions statement on the registration page.',
);
$items['legal'] = array(
'title' => 'Terms and Conditions',
'page callback' => 'legal_page',
'access arguments' => array(
'view Terms and Conditions',
),
'type' => MENU_CALLBACK,
);
$items['legal_accept'] = array(
'title' => 'Terms and Conditions',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'legal_login',
),
'access arguments' => array(
TRUE,
),
'type' => MENU_CALLBACK,
);
return $items;
}