You are here

function userpoints_event_info in User Points 5.3

File

./userpoints_workflow_ng.module, line 26
Some workflow-ng integration for the user points module

Code

function userpoints_event_info() {
  return array(
    'userpoints_points_awarded' => array(
      '#label' => t('User was awarded points'),
      '#module' => t('User Points'),
      '#arguments' => array(
        'user' => array(
          '#entity' => 'user',
          '#label' => t('Current User'),
        ),
        'points' => array(
          '#entity' => 'points',
          '#label' => t('Points Awarded'),
        ),
      ),
    ),
  );
}