function tripal_chado_views_integration_delete_all_form_submit
3.x tripal_chado_views_integration_UI.inc | tripal_chado_views_integration_delete_all_form_submit($form, &$form_state) |
Purpose: Deletes ALL Chado Views Integrations. This function is meant to be called from a menu item. After completion it redirects the user to the views intergation page.
Related topics
File
- tripal_chado_views/
includes/ tripal_chado_views_integration_UI.inc, line 189 - Functions related to the UI for integrating tables with views
Code
function tripal_chado_views_integration_delete_all_form_submit($form, &$form_state) {
tripal_rebuild_views_integrations(TRUE);
$form_state['redirect'] = 'admin/tripal/storage/chado/views-integration/list';
}