You are here

function views_ui_admin_import in Views (for Drupal 7) 5

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

File

./views_ui.module, line 404

Code

function views_ui_admin_import() {
  $form['view'] = array(
    '#type' => 'textarea',
    '#title' => t('Import View Code'),
    '#cols' => 60,
    '#rows' => 6,
    '#description' => t('Cut and paste the results of an Export View here.'),
  );
  $form['submit'] = array(
    '#type' => 'submit',
    '#value' => t("Submit"),
  );
  $form['#redirect'] = NULL;
  return $form;
}