function environment_readonly_menu in Environment 7
Implements hook_menu().
File
- modules/
environment_readonly/ environment_readonly.module, line 11 - Code for the Environment Readonly module.
Code
function environment_readonly_menu() {
$items = array();
$items['admin/config/system/environment/readonly'] = array(
'title' => 'Read Only Settings',
'description' => 'Configuration options for Read Only environment state.',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'environment_readonly_admin_settings',
),
'access arguments' => array(
'administer site configuration',
),
'file' => 'environment_readonly.admin.inc',
'type' => MENU_LOCAL_TASK,
);
return $items;
}