function data_ui_disown_form_submit in Data 7
Submit handler for data_ui_disown_form().
File
- data_ui/
data_ui.admin.inc, line 507 - Admin UI functions.
Code
function data_ui_disown_form_submit($form, &$form_state) {
$table = $form['#table'];
$table
->disown();
drupal_set_message(t('Table @table has been disowned.', array(
'@table' => $table
->get('name'),
)));
$form_state['redirect'] = 'admin/structure/data';
}