function tripal_views_integration_delete_all_form_submit
2.x tripal_views_integration_UI.inc | tripal_views_integration_delete_all_form_submit($form, &$form_state) |
Purpose: Deletes ALL Tripal 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_views/
includes/ tripal_views_integration_UI.inc, line 189 - Functions related to the UI for integrating tables with views
Code
function tripal_views_integration_delete_all_form_submit($form, &$form_state) {
tripal_rebuild_views_integrations(TRUE);
$form_state['redirect'] = 'admin/tripal/views-integration/list';
}