function _workflow_rules_workflow_check_state in Workflow 7
Condition implementation: check current state.
1 string reference to '_workflow_rules_workflow_check_state'
- _workflow_rules_rules_node_condition_info in workflow_rules/
workflow_rules.node.inc - Implements subfunction of hook_rules_condition_info().
File
- workflow_rules/
workflow_rules.rules.inc, line 125 - Rules integration for the Workflow module
Code
function _workflow_rules_workflow_check_state($node, $sids) {
$sid = workflow_node_current_state($node);
return _workflow_rules_workflow_check_given_state($sid, $sids);
}