You are here

function _votingapi_actions_list in Voting API 5

1 call to _votingapi_actions_list()
votingapi_actions_set_form in ./votingapi_actions_ui.inc

File

./votingapi_actions_ui.inc, line 470

Code

function _votingapi_actions_list($content_type = 'Node') {
  $options = array();
  foreach (actions_actions_map(actions_get_all_actions()) as $aid => $action) {
    $options[$action['type']][$aid] = $action['description'];
  }
  return $options;
}