You are here

function ultimate_cron_import_form in Ultimate Cron 7

Same name and namespace in other branches
  1. 8 ultimate_cron.admin.inc \ultimate_cron_import_form()
  2. 6 ultimate_cron.admin.inc \ultimate_cron_import_form()

Import form.

File

./ultimate_cron.admin.inc, line 669

Code

function ultimate_cron_import_form() {
  $form = array();
  $options = array();
  if ($options) {
    $form['import']['module'] = array(
      '#type' => 'select',
      '#options' => $options,
      '#title' => t('Module'),
      '#description' => t('Module to import settings from'),
    );
    $form['import']['submit'] = array(
      '#type' => 'submit',
      '#submit' => array(
        'ultimate_cron_import_form_submit',
      ),
      '#value' => t('Import'),
    );
  }
  return $form;
}