You are here

function votingapi_actions_admin_delete_page in Voting API 5

1 string reference to 'votingapi_actions_admin_delete_page'
votingapi_actions_menu in ./votingapi_actions.module

File

./votingapi_actions_ui.inc, line 196

Code

function votingapi_actions_admin_delete_page($set_name) {
  $form['set'] = array(
    '#type' => 'value',
    '#value' => $set_name,
  );
  return confirm_form($form, t('Are you sure you want to delete %title?', array(
    '%title' => $set_name,
  )), $_GET['destination'] ? $_GET['destination'] : 'admin/settings/voting_actions', t('This action cannot be undone.'), t('Delete'), t('Cancel'));
}