You are here

function arrange_fields_import_form in Arrange Fields 6

Same name and namespace in other branches
  1. 7 arrange_fields.module \arrange_fields_import_form()

We will use this form to let users paste in definitions for form arrangements which they got from the "export" screen.

1 string reference to 'arrange_fields_import_form'
arrange_fields_menu in ./arrange_fields.module
Implementation of hook_menu().

File

./arrange_fields.module, line 281

Code

function arrange_fields_import_form() {
  $form = array();
  $form["import"] = array(
    "#title" => "Import",
    "#type" => "textarea",
    "#rows" => 15,
    "#description" => t("Use this box to import definitions from an Arrange Fields export.\n                       You may paste in more than one definition at a time."),
  );
  $form["submit"] = array(
    "#type" => "submit",
    "#value" => "Import",
  );
  return $form;
}