You are here

function workflow_features_export_options in Workflow 7

Implements hook_features_export_options().

File

./workflow.features.inc, line 62
Integrates workflow with features.

Code

function workflow_features_export_options() {
  $workflows = array();
  foreach (Workflow::getWorkflows() as $workflow) {
    $name = $workflow
      ->getName();
    $workflows[$name] = $name;
  }
  return $workflows;
}