function total_control_remove_type_submit in Total Control Admin Dashboard 6.2
Same name and namespace in other branches
- 7.2 includes/total_control.inc \total_control_remove_type_submit()
Submit function for delete content type confirm form
Parameters
$form: The form triggering the display to be added
$form_state: The state of the form when the request is made
1 string reference to 'total_control_remove_type_submit'
- total_control_form_alter in ./
total_control.module - Implementation of hook_form_alter().
File
- includes/
total_control.inc, line 35 - total_control.inc
Code
function total_control_remove_type_submit($form, &$form_state) {
// get the type
$machine_type = $form_state['values']['type'];
total_control_views_delete_page_display($machine_type);
total_control_views_delete_pane_display($machine_type);
}