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