function constant_contact_delete_list in Constant Contact 7.3
Same name and namespace in other branches
- 6.3 admin.lists.inc \constant_contact_delete_list()
- 6.2 contactlists.admin.inc \constant_contact_delete_list()
Delete a contact list.
1 string reference to 'constant_contact_delete_list'
- constant_contact_menu in ./
constant_contact.module - Implements hook_menu().
File
- ./
admin.lists.inc, line 117 - Manage contact lists.
Code
function constant_contact_delete_list($id) {
$node = array(
'id' => $id,
);
$html = '<p>Please confirm you would like to delete this contact list?</p>';
$html .= drupal_render(drupal_get_form('constant_contact_delete_list_form', $node));
return $html;
}