You are here

function workflow_delete_workflow_type_map_all in Workflow 7

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

Delete all type maps. @TODO: why is this here instead of the admin_ui?

1 call to workflow_delete_workflow_type_map_all()
workflow_admin_ui_types_save in workflow_admin_ui/workflow_admin_ui.module
Save mapping of workflow to node type. E.g., the story node type is using the Foo workflow.

File

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

Code

function workflow_delete_workflow_type_map_all() {
  return db_delete('workflow_type_map')
    ->execute();
}