function workflow_features_revert in Workflow 7
Implements hook_features_revert().
1 call to workflow_features_revert()
- workflow_features_export_rebuild in ./
workflow.features.inc - Implements hook_features_export_rebuild().
File
- ./
workflow.features.inc, line 74 - Integrates workflow with features.
Code
function workflow_features_revert($module) {
// Including the features inc to make sure this function is available during install of a Features module.
module_load_include('inc', 'features', 'features.export');
foreach (features_get_default('workflow', $module) as $key => $workflow) {
workflow_update_workflows_full_object($workflow);
}
}