Skip to content
ms_fortumo.rules.inc 941 B
Newer Older
<?php
/**
 * @file
 */
// ======================================
// CONDITIONS
// ======================================

// ======================================
// ACTIONS
// ======================================

// ======================================
// TRIGGERS
// ======================================

/**
 * Implements  hook_rules_event_info()
 */
function ms_fortumo_rules_event_info() {
  $items = array(
    'ms_fortumo_event_widget_payment' => array(
      'label' => t('Fortumo Widget Payment Received'),
      'group' => 'MS Fortumo',
      'help' => t("Act when a widget payment has been received."),
      'variables' => array(
        'account' => array('type' => 'user', 'label' => t('User Account')),
        'credits' => array('type' => 'integer', 'label' => t('Credits')),
      ),
    ),
  );

  return $items;
}

// ======================================
// DATA TYPES
// ======================================