You are here

function panels_views_import_form in Panels 5.2

Form for the view pane import.

1 string reference to 'panels_views_import_form'
panels_views_import_view in panels_views/panels_views.module
Page callback to import a view pane.

File

panels_views/panels_views.module, line 599
panels_views.module

Code

function panels_views_import_form() {
  $form['panel_view'] = array(
    '#type' => 'textarea',
    '#title' => t('Panel view code'),
    '#cols' => 60,
    '#rows' => 15,
    '#description' => t('Cut and paste the results of an exported panel view here.'),
  );
  $form['submit'] = array(
    '#type' => 'submit',
    '#value' => t('Import'),
  );
  $form['#redirect'] = NULL;
  return $form;
}