function userpoints_action_grant_points_form in User Points 5.3
Same name and namespace in other branches
- 6 userpoints_rules.rules.inc \userpoints_action_grant_points_form()
Implementation of a workflow-ng action: disables revision moderation.
File
- ./
userpoints_workflow_ng.module, line 50 - Some workflow-ng integration for the user points module
Code
function userpoints_action_grant_points_form($settings = array(), $argument_info) {
$form = array();
$form['number'] = array(
'#type' => 'textfield',
'#title' => t('Number of points'),
'#default_value' => isset($settings['number']) ? $settings['number'] : '',
);
workflow_ng_token_replacement_help($form, $argument_info);
return $form;
}