You are here

function panels_page_import_form in Panels 6.2

Same name and namespace in other branches
  1. 5.2 panels_page/panels_page.admin.inc \panels_page_import_form()

Form to for the panel page import

1 string reference to 'panels_page_import_form'
panels_page_import_page in panels_page/panels_page.admin.inc
Page callback to import a panel page from PHP code.

File

panels_page/panels_page.admin.inc, line 984
panels_page.admin.inc

Code

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