You are here

function userpoints_action_info in User Points 5.3

Implementation of hook_action_info().

File

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

Code

function userpoints_action_info() {
  return array(
    'userpoints_action_grant_points' => array(
      '#label' => t('Grant points to a user'),
      '#arguments' => array(
        'user' => array(
          '#entity' => 'user',
          '#label' => t('User'),
        ),
      ),
      '#module' => t('Userpoints'),
    ),
  );
}