You are here

function constant_contact_delete_list_form in Constant Contact 7.3

Same name and namespace in other branches
  1. 6.3 admin.lists.inc \constant_contact_delete_list_form()
  2. 6.2 contactlists.admin.inc \constant_contact_delete_list_form()

Form builder for deleting a contact list.

1 string reference to 'constant_contact_delete_list_form'
constant_contact_delete_list in ./admin.lists.inc
Delete a contact list.

File

./admin.lists.inc, line 127
Manage contact lists.

Code

function constant_contact_delete_list_form($form, $formstate) {
  $id = arg(6);
  $form = array();
  $form['#redirect'] = 'admin/config/services/constant_contact/lists';
  $form['id'] = array(
    '#type' => 'value',
    '#value' => $id,
  );
  $form['cancel'] = array(
    '#type' => 'submit',
    '#value' => t('Cancel'),
  );
  $form['submit'] = array(
    '#type' => 'submit',
    '#value' => t('Continue'),
  );
  return $form;
}