You are here

function workflow_state_load_by_name in Workflow 7.2

3 calls to workflow_state_load_by_name()
Workflow::createState in includes/Entity/Workflow.php
Create a new state for this workflow.
Workflow::getState in includes/Entity/Workflow.php
Gets a state for a given workflow.
workflow_access_features_rebuild in workflow_access/workflow_access.features.inc
Implements hook_features_rebuild().

File

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

Code

function workflow_state_load_by_name($name, $wid) {
  return WorkflowState::loadByName($name, $wid);
}