function workflow_get_workflow_node_history_by_nid in Workflow 7.2
Same name and namespace in other branches
- 7 workflow.module \workflow_get_workflow_node_history_by_nid()
Get all recorded history for a node id.
Since this may return a lot of data, a limit is included to allow for only one result.
1 call to workflow_get_workflow_node_history_by_nid()
- workflow_insert_workflow_node_history in ./
workflow.deprecated.inc - Given data, insert a new history. Always insert.
File
- ./
workflow.deprecated.inc, line 713 - Contains contains per-class functions, that are deprecated.
Code
function workflow_get_workflow_node_history_by_nid($nid, $limit = NULL) {
$field_name = '';
return workflow_transition_load_multiple('node', array(
$nid,
), $field_name, $limit);
}