function total_control_form_alter in Total Control Admin Dashboard 6.2
Same name and namespace in other branches
- 6 total_control.module \total_control_form_alter()
- 7.2 total_control.module \total_control_form_alter()
Implementation of hook_form_alter().
Adds views adjustment handling when content types are added or removed
File
- ./
total_control.module, line 53
Code
function total_control_form_alter(&$form, $form_state, $form_id) {
if ('node_type_form' == $form_id) {
$form['#submit'][] = 'total_control_add_type_submit';
}
if ('node_type_delete_confirm' == $form_id) {
$form['#submit'][] = 'total_control_remove_type_submit';
}
}