You are here

function state_flow_state_flow_plugins in State Machine 7.2

Same name and namespace in other branches
  1. 6 modules/state_flow/state_flow.module \state_flow_state_flow_plugins()
  2. 7 modules/state_flow/state_flow.module \state_flow_state_flow_plugins()

Implements hook_state_flow_plugins().

File

modules/state_flow/state_flow.module, line 128
An implementation of node revision workflow for Drupal based on the State Machine system.

Code

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