function environment_readonly_environment_switch in Environment 7
Implements hook_environment_switch().
File
- modules/
environment_readonly/ environment_readonly.module, line 66 - Code for the Environment Readonly module.
Code
function environment_readonly_environment_switch($target_env, $current_env, $workflow = NULL) {
// Update permissions.
_environment_readonly_update_permissions();
drupal_set_message('Updated permissions.');
}