You are here

public function StateFlow::load in State Machine 6

Same name and namespace in other branches
  1. 7 modules/state_flow/plugins/state_flow.inc \StateFlow::load()
  2. 7.2 modules/state_flow/plugins/state_flow.inc \StateFlow::load()

Load the current state from the given state storage

Overrides StateMachine::load

File

modules/state_flow/plugins/state_flow.inc, line 63

Class

StateFlow

Code

public function load() {
  return $this
    ->latest_state($this->object->nid);
}