function environment_environment in Environment 7
Same name and namespace in other branches
- 6 environment.module \environment_environment()
Implements hook_environment().
File
- ./
environment.module, line 40 - Module for handling changes in server environments
Code
function environment_environment() {
return array(
'production' => array(
'label' => t('Production'),
'allowed' => array(
'default' => TRUE,
),
),
'development' => array(
'label' => t('Development'),
'allowed' => array(
'default' => FALSE,
),
),
);
}