You are here

function workflow_load_single in Workflow 7.2

17 calls to workflow_load_single()
WorkflowConfigTransition::getWorkflow in includes/Entity/WorkflowConfigTransition.php
WorkflowExampleTestCase::testWorkflow in includes/Test/WorkflowUnitTest.test
Creates a simpletest_example node using the node form.
workflowfield_options_list in workflow_field/workflowfield.field.inc
Implements hook_options_list().
WorkflowItem::settingsForm in includes/Field/WorkflowItem.php
Implements hook_field_settings_form() -> ConfigFieldItemInterface::settingsForm().
WorkflowState::deactivate in includes/Entity/WorkflowState.php
Deactivate a Workflow State, moving existing nodes to a given State.

... See full list

File

./workflow.entity.inc, line 484
Integrates workflow with entity API.

Code

function workflow_load_single($id) {
  return entity_load_single('Workflow', $id);
}