function aes_menu in AES encryption 5
Same name and namespace in other branches
- 6 aes.module \aes_menu()
- 7 aes.module \aes_menu()
File
- ./
aes.module, line 12
Code
function aes_menu() {
$items = array();
$items['admin/settings/aes'] = array(
'title' => 'AES settings',
'description' => 'Configure the AES encryption module.',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'aes_config',
),
'access arguments' => array(
'administer aes',
),
'type' => MENU_NORMAL_ITEM,
);
$items['user/%/password'] = array(
'title' => 'View password',
'page callback' => 'aes_get_password',
'page arguments' => array(
1,
true,
),
'access callback' => 'aes_show_password_page',
'access arguments' => array(
'view passwords',
1,
),
'type' => MENU_LOCAL_TASK,
);
return $items;
}