You are here

function hook_state_flow_plugins in State Machine 7

Same name and namespace in other branches
  1. 7.2 modules/state_flow/state_flow.api.php \hook_state_flow_plugins()

Implements hook_state_flow_plugins().

1 function implements hook_state_flow_plugins()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

state_flow_state_flow_plugins in modules/state_flow/state_flow.module
Implements hook_state_flow_plugins().

File

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

Code

function hook_state_flow_plugins() {
  $info = array();
  $path = drupal_get_path('module', 'state_flow') . '/plugins';
  $info['state_flow_test'] = array(
    'handler' => array(
      'class' => 'StateFlowTest',
      'file' => 'state_flow.inc',
      'path' => $path,
      'parent' => 'state_flow',
    ),
  );
  return $info;
}