You are here

function workflow_get_defaults in Workflow 7.2

Get features defaults for workflows.

2 calls to workflow_get_defaults()
EntityWorkflowUIController::applyOperation in workflow_admin_ui/includes/Entity/EntityWorkflowUIController.php
Overrides the 'revert' action, to not delete the workflows.
WorkflowFeaturesController::revert in ./workflow.features.inc
Revert this workflow, either creating the workflow new (if one with the same machine name is not present), or updating the existing workflow.

File

./workflow.module, line 1180
Support workflows made up of arbitrary states.

Code

function workflow_get_defaults($module) {
  $funcname = $module . '_default_Workflow';
  return $funcname();
}