You are here

function workflow_delete_workflow_type_map_by_type in Workflow 7

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

Given a type, delete the map for that workflow.

1 call to workflow_delete_workflow_type_map_by_type()
workflow_insert_workflow_type_map in ./workflow.node.type_map.inc
Given information, insert a new workflow_type_map. Returns data by ref. (like node_save). @TODO: why is this here instead of the admin_ui?

File

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

Code

function workflow_delete_workflow_type_map_by_type($type) {
  return db_delete('workflow_type_map')
    ->condition('type', $type)
    ->execute();
}