You are here

function workflow_get_workflow_type_map in Workflow 7.2

Same name and namespace in other branches
  1. 7 workflow.node.type_map.inc \workflow_get_workflow_type_map()

Gets all workflow_type_map.

4 calls to workflow_get_workflow_type_map()
workflownode_field_extra_fields in workflow_node/workflownode.module
Implements hook_field_extra_fields().
workflownode_node_load in workflow_node/workflownode.module
Implements hook_node_load().
workflow_actions_trigger_info in workflow_actions/workflow_actions.module
Implements hook_trigger_info().
workflow_admin_ui_type_map_form in workflow_admin_ui/workflow_admin_ui.page.type_map.inc
Page builder. Show a maintenance table for type mapping.

File

./workflow.node.type_map.inc, line 14
Node specific functions, remnants of nodeapi.

Code

function workflow_get_workflow_type_map() {
  $results = db_query('SELECT type, wid FROM {workflow_type_map}');
  return $results
    ->fetchAllKeyed();
}