function revisioning_action_info in Revisioning 6.3
Same name and namespace in other branches
- 8 revisioning_triggers_actions.inc \revisioning_action_info()
- 6.4 revisioning_triggers_actions.inc \revisioning_action_info()
- 6 revisioning_triggers_actions.inc \revisioning_action_info()
- 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 84 - Triggers and actions supported by the revisioning module.
Code
function revisioning_action_info() {
return array(
'revisioning_delete_archived_action' => array(
'type' => 'node',
'description' => t('Delete archived revisions of the node'),
'configurable' => FALSE,
'hooks' => array(
'nodeapi' => array(
'update',
),
),
),
'revisioning_create_pending_revision_action' => array(
'description' => t('Create a new pending revision of a node'),
'type' => 'node',
'configurable' => FALSE,
'hooks' => array(
'nodeapi' => array(
'presave',
),
),
),
'revisioning_publish_latest_revision_action' => array(
'type' => 'node',
'description' => t('Publish the most recent pending revision'),
'configurable' => FALSE,
'hooks' => array(
'nodeapi' => array(
'presave',
),
),
),
);
}