You are here

function views_ui_admin_import_page in Views (for Drupal 7) 5

1 string reference to 'views_ui_admin_import_page'
views_ui_menu in ./views_ui.module

File

./views_ui.module, line 393

Code

function views_ui_admin_import_page() {
  views_load_cache();
  if ($_POST['form_id'] == 'views_edit_view') {
    return views_ui_admin_add_page();
  }
  drupal_set_title(t('Import a View'));
  return drupal_get_form('views_ui_admin_import', $form);
}