function hook_environment_workflow_alter in Environment 7
Same name and namespace in other branches
- 6 environment.api.php \hook_environment_workflow_alter()
Alter the workflows as defined.
Parameters
array $workflows: Array of defined workflows.
1 invocation of hook_environment_workflow_alter()
- environment_load_workflow in ./
environment.module - Get the current assortment of Workflows.
File
- ./
environment.api.php, line 158 - Hooks provided by Environment.
Code
function hook_environment_workflow_alter(&$workflows) {
$workflows['public']['label'] = t('Publicly visible status');
}