You are here

function revisioning_action_info in Revisioning 6

Same name and namespace in other branches
  1. 8 revisioning_triggers_actions.inc \revisioning_action_info()
  2. 6.4 revisioning_triggers_actions.inc \revisioning_action_info()
  3. 6.3 revisioning_triggers_actions.inc \revisioning_action_info()
  4. 7 revisioning_triggers_actions.inc \revisioning_action_info()

Implementation of hook_action_info(). Defines actions available in this module.

File

./revisioning_triggers_actions.inc, line 59
Triggers and actions supported by the revisioning module.

Code

function revisioning_action_info() {
  return array(
    'revisioning_publish_latest_revision_action' => array(
      'type' => 'node',
      'description' => t('Publish the most recent pending revision.'),
      'configurable' => FALSE,
      'hooks' => array(
        'nodeapi' => array(
          'presave',
        ),
      ),
    ),
  );
}