function views_ui_import_submit

Same name in other branches
  1. 7.x-3.x includes/admin.inc \views_ui_import_submit()

Submit handler for view import

1 string reference to 'views_ui_import_submit'
views_ui_import_page in includes/admin.inc
Import a view from cut & paste

File

includes/admin.inc, line 885

Code

function views_ui_import_submit($form, &$form_state) {
    // Store in cache and then go to edit.
    views_ui_cache_set($form_state['view']);
    $form_state['redirect'] = 'admin/build/views/edit/' . $form_state['view']->name;
}