function views_ui_import_submit in Views (for Drupal 7) 6.2
Same name and namespace in other branches
- 6.3 includes/admin.inc \views_ui_import_submit()
- 7.3 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
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;
}