You are here

function nodequeue_action_info in Nodequeue 5.2

Same name in this branch
  1. 5.2 nodequeue.actions.inc \nodequeue_action_info()
  2. 5.2 nodequeue.workflow_ng.inc \nodequeue_action_info()
Same name and namespace in other branches
  1. 6.2 nodequeue.module \nodequeue_action_info()
  2. 7.3 includes/nodequeue.actions.inc \nodequeue_action_info()
  3. 7.2 nodequeue.module \nodequeue_action_info()

Implementation of hook_action_info().

File

./nodequeue.actions.inc, line 11
nodequeue.actions.inc Provides actions integration for node queues.

Code

function nodequeue_action_info() {
  return array(
    'nodequeue_add_action' => array(
      'type' => 'node',
      'description' => t('Add to Node Queues'),
      'configurable' => TRUE,
      'hooks' => array(
        'nodeapi' => array(
          'insert',
          'update',
        ),
      ),
    ),
    'nodequeue_remove_action' => array(
      'type' => 'node',
      'description' => t('Remove from Node Queues'),
      'configurable' => TRUE,
      'hooks' => array(
        'nodeapi' => array(
          'insert',
          'update',
        ),
      ),
    ),
  );
}