You are here

function regcode_action_info in Registration codes 7

Same name and namespace in other branches
  1. 6.2 regcode.module \regcode_action_info()
  2. 7.2 regcode.module \regcode_action_info()

Implements hook_action_info().

File

./regcode.module, line 247
Main functionality and hooks of regcode module.

Code

function regcode_action_info() {
  return array(
    'regcode_activate_action' => array(
      'type' => 'regcode',
      'label' => t('Activate codes'),
      'configurable' => FALSE,
      'triggers' => array(
        'any' => TRUE,
      ),
    ),
    'regcode_deactivate_action' => array(
      'type' => 'regcode',
      'label' => t('Deactive codes'),
      'configurable' => FALSE,
      'triggers' => array(
        'any' => TRUE,
      ),
    ),
    'regcode_delete_action' => array(
      'type' => 'regcode',
      'label' => t('Delete codes'),
      'configurable' => FALSE,
      'triggers' => array(
        'any' => TRUE,
      ),
    ),
    'regcode_tag_action' => array(
      'type' => 'regcode',
      'label' => t('Tag codes'),
      'configurable' => TRUE,
      'triggers' => array(
        'any' => TRUE,
      ),
    ),
  );
}