function votingapi_actions_action_form in Voting API 5
1 call to votingapi_actions_action_form()
File
- ./
votingapi_actions_ui.inc, line 436
Code
function votingapi_actions_action_form($action) {
$form = array();
$actions = actions_actions_map(actions_get_all_actions());
$form['value'] = array(
'#type' => 'hidden',
'#value' => $action,
);
$form['description'] = array(
'#value' => $actions[$action]['description'],
);
$form['remove'] = array(
'#type' => 'markup',
'#value' => '<br />',
);
return $form;
}