function constant_contact_delete_list_form in Constant Contact 6.2
Same name and namespace in other branches
- 6.3 admin.lists.inc \constant_contact_delete_list_form()
- 7.3 admin.lists.inc \constant_contact_delete_list_form()
delete a contact list
1 string reference to 'constant_contact_delete_list_form'
- constant_contact_delete_list in ./
contactlists.admin.inc - delete a contact list
File
- ./
contactlists.admin.inc, line 142
Code
function constant_contact_delete_list_form($form, $formstate) {
$id = isset($formstate['id']) ? $formstate['id'] : 0;
$form = array();
$form['#redirect'] = 'admin/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;
}