You are here

function node_registration_action_info in Node registration 7

Implements hook_action_info().

File

includes/node_registration.actions.inc, line 11
Actions, triggers and rules -- callbacks, definitions and hooks.

Code

function node_registration_action_info() {
  return array(
    // Formless actions.
    'node_registration_verify_action' => array(
      'type' => 'node_registration',
      'label' => t('Verify node registration'),
      'configurable' => FALSE,
      'behavior' => array(
        'changes_property',
      ),
      'triggers' => array(
        'node_registration_insert',
        'node_registration_update',
      ),
    ),
    'node_registration_unverify_action' => array(
      'type' => 'node_registration',
      'label' => t('Unverify node registration'),
      'configurable' => FALSE,
      'behavior' => array(
        'changes_property',
      ),
      'triggers' => array(
        'node_registration_insert',
        'node_registration_update',
      ),
    ),
    'node_registration_attend_action' => array(
      'type' => 'node_registration',
      'label' => t('Attend node registration'),
      'configurable' => FALSE,
      'behavior' => array(
        'changes_property',
      ),
      'triggers' => array(
        'node_registration_insert',
        'node_registration_update',
      ),
    ),
    'node_registration_unattend_action' => array(
      'type' => 'node_registration',
      'label' => t('Unattend node registration'),
      'configurable' => FALSE,
      'behavior' => array(
        'changes_property',
      ),
      'triggers' => array(
        'node_registration_insert',
        'node_registration_update',
      ),
    ),
    'node_registration_cancel_action' => array(
      'type' => 'node_registration',
      'label' => t('Cancel node registration'),
      'configurable' => FALSE,
      'behavior' => array(
        'changes_property',
      ),
      'triggers' => array(),
    ),
    'node_registration_uncancel_action' => array(
      'type' => 'node_registration',
      'label' => t('Uncancel node registration'),
      'configurable' => FALSE,
      'behavior' => array(
        'changes_property',
      ),
      'triggers' => array(),
    ),
    'node_registration_wait_action' => array(
      'type' => 'node_registration',
      'label' => t('Waitinglist node registration'),
      'configurable' => FALSE,
      'behavior' => array(
        'changes_property',
      ),
      'triggers' => array(),
    ),
    'node_registration_unwait_action' => array(
      'type' => 'node_registration',
      'label' => t('Unwaitinglist node registration'),
      'configurable' => FALSE,
      'behavior' => array(
        'changes_property',
      ),
      'triggers' => array(),
    ),
  );
}