You are here

function webform_workflow_state_none in Webform Workflow 7

Get a default state called 'None'.

Return value

object The state entity object (not saved).

1 call to webform_workflow_state_none()
webform_workflow_state_load_by_submission in ./webform_workflow.module
Get the state of a submission.

File

./webform_workflow.module, line 320
A simple workflow module for webforms.

Code

function webform_workflow_state_none() {
  return entity_create('webform_workflow_state', array(
    'label' => t('None'),
  ));
}