function view_custom_table_delete_custom_table_to_view_form_submit in Views Custom Table 7
Submit for delete_custom_table_to_view_form().
File
- ./
view_custom_table.admin.inc, line 557 - File for administrative functions.
Code
function view_custom_table_delete_custom_table_to_view_form_submit($form, $form_state) {
if (isset($form_state['table_name'])) {
db_delete('custom_table_view_data')
->condition('table_name', $form_state['table_name'])
->execute();
drupal_set_message(t('@table_name has been deleted.', array(
'@table_name' => $form_state['table_name'],
)));
}
}