You are here

function aat_legacy_import_form in Amazon Product Advertisement API 6

Form to start the import process.

1 string reference to 'aat_legacy_import_form'
aat_legacy_menu in aat_legacy/aat_legacy.module
Implementation of hook_menu.

File

aat_legacy/aat_legacy.module, line 19

Code

function aat_legacy_import_form() {
  $form = array();
  $form['explanation'] = array(
    '#type' => 'markup',
    '#prefix' => "<div>",
    '#value' => t("Here you can import legacy Drupal 5 items from Amazon Tools. This may take a long time. It may be safely restarted."),
    '#suffix' => "</div>",
  );
  $form['submit'] = array(
    '#type' => 'submit',
    '#value' => t("Start import"),
  );
  return $form;
}