You are here

public function StateMachine_Event::get_target_state in State Machine 7.3

Returns the target state of this event.

Return value

\StateMachine_State The target state of this event.

File

inc/base.inc, line 445
Defines the base classes of the state machine.

Class

StateMachine_Event
Base class for events.

Code

public function get_target_state() {
  return $this->machine
    ->get_state($this
    ->get_option('target'));
}