You are here

function state_flow_state_flow_plugins in State Machine 7

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

Implements hook_state_flow_plugins().

File

modules/state_flow/state_flow.module, line 116
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',
      'file' => 'state_flow.inc',
      'path' => $path,
    ),
  );
  return $info;
}