function environment_readonly_environment in Environment 7
Implements hook_environment().
File
- modules/
environment_readonly/ environment_readonly.module, line 75 - Code for the Environment Readonly module.
Code
function environment_readonly_environment() {
$environments = array();
$environments['readonly'] = array(
'label' => t('Read Only'),
'description' => t('Disallows everyone from being able to make any modifications to the site.'),
'allowed' => array(
'default' => TRUE,
),
);
return $environments;
}