function 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 2252

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/structure/views/view/' . $form_state['view']->name . '/edit';
}