function webform_workflow_state_load in Webform Workflow 7
Load a single workflow state.
Parameters
int $wsid: The workflow state ID.
Return value
object|FALSE A workflow state entity object, or FALSE if the $wsid was not found.
4 calls to webform_workflow_state_load()
- webform_workflow_change_submission_state_submit in ./
webform_workflow.module - Submit callback for the 'Change workflow state' action configuration form.
- webform_workflow_state_load_by_submission in ./
webform_workflow.module - Get the state of a submission.
- webform_workflow_submission_state_form in includes/
webform_workflow.forms.inc - Form for changing the state of an existing submission.
- webform_workflow_submission_state_form_submit in includes/
webform_workflow.forms.inc - Submit callback for changing the state of an existing submission.
File
- ./
webform_workflow.module, line 165 - A simple workflow module for webforms.
Code
function webform_workflow_state_load($wsid) {
return entity_load_single('webform_workflow_state', $wsid);
}