You are here

function votingapi_generate_votes_form_submit in Voting API 6.2

Same name and namespace in other branches
  1. 5 votingapi_generate.module \votingapi_generate_votes_form_submit()
  2. 7.3 votingapi.admin.inc \votingapi_generate_votes_form_submit()
  3. 7.2 votingapi.admin.inc \votingapi_generate_votes_form_submit()

Submit handler for votingapi_generate_votes_form.

File

./votingapi.admin.inc, line 79
Configuration forms and helper functions for VotingAPI module.

Code

function votingapi_generate_votes_form_submit($form, &$form_state) {
  votingapi_generate_votes($form_state['values']['node_types'], $form_state['values']['vote_type'], $form_state['values']['kill_votes']);
}