You are here

function hook_state_flow_machine_type_alter in State Machine 7.2

Implements hook_state_flow_machine_type_alter()

Parameters

string $machine_type:

object $node:

1 invocation of hook_state_flow_machine_type_alter()
state_flow_load_state_machine in modules/state_flow/state_flow.module
Load the state_flow state_machine for the given node.

File

modules/state_flow/state_flow.api.php, line 38
Define a new StateMachine for the node

Code

function hook_state_flow_machine_type_alter(&$machine_type, $node) {
  $machine_type = 'state_flow_test';
}