function sendinblue_signup_signup_delete_form_submit in SendinBlue 7
Same name and namespace in other branches
- 7.2 includes/sendinblue_signup.admin.inc \sendinblue_signup_signup_delete_form_submit()
Submit handler for sendinblue_signup_signup_delete_form().
File
- includes/
sendinblue_signup.admin.inc, line 403 - Sendinblue_signup module admin settings.
Code
function sendinblue_signup_signup_delete_form_submit($form, &$form_state) {
$signup = $form_state['signup'];
sendinblue_signup_delete_multiple(array(
$signup
->identifier(),
));
drupal_set_message(t('%name has been deleted.', array(
'%name' => $signup
->label(),
)));
$form_state['redirect'] = 'admin/config/system/sendinblue/signup';
}