You are here

function workflow_load in Workflow 7

Same name and namespace in other branches
  1. 6.2 workflow.module \workflow_load()
  2. 6 workflow.module \workflow_load()
  3. 7.2 workflow.entity.inc \workflow_load()

Menu wild card loader {wildcard_name}_load for '%workflow'. Used by add-on modules, such as workflow_admin_ui.

See also

http://www.phpgainers.com/content/creating-menu-wildcard-loader-function...

File

./workflow.module, line 75
Support workflows made up of arbitrary states.

Code

function workflow_load($wid) {
  return Workflow::load($wid);
}