function lockr_menu in Lockr 7.3
Same name and namespace in other branches
- 7 lockr.module \lockr_menu()
- 7.2 lockr.module \lockr_menu()
Implements hook_menu().
File
- ./
lockr.module, line 29 - Hook implementations and callbacks for lockr.
Code
function lockr_menu() {
$items['admin/config/system/lockr'] = [
'title' => 'Lockr',
'description' => 'Store keys securely off-site.',
'page callback' => 'lockr_admin_page',
'access arguments' => [
'administer keys',
],
'file' => 'lockr.admin.inc',
];
$items['admin/config/system/lockr/migrate'] = [
'title' => t('Migrate Legacy Keys'),
'page callback' => 'drupal_get_form',
'page arguments' => [
'lockr_migrate_keys_form',
],
'access arguments' => [
'administer keys',
],
'file' => 'lockr.forms.inc',
'type' => MENU_CALLBACK,
];
return $items;
}