function get_tripal_organism_admin_form_cleanup_set

1.x tripal_organism.admin.inc get_tripal_organism_admin_form_cleanup_set(&$form)

Related topics

1 call to get_tripal_organism_admin_form_cleanup_set()
tripal_organism_admin in tripal_organism/includes/tripal_organism.admin.inc
Administrative settings for chado_orgnism

File

tripal_organism/includes/tripal_organism.admin.inc, line 44

Code

function get_tripal_organism_admin_form_cleanup_set(&$form) {
  $form['cleanup'] = array(
    '#type' => 'fieldset',
    '#title' => t('Clean Up')
  );
  $form['cleanup']['description'] = array(
    '#type' => 'item',
    '#value' => t("With Drupal and chado residing in different databases " .
      "it is possible that nodes in Drupal and organisms in Chado become " .
      "\"orphaned\".  This can occur if an organism node in Drupal is " .
      "deleted but the corresponding chado organism is not and/or vice " .
      "versa. Click the button below to resolve these discrepancies."),
    '#weight' => 1,
  );
  $form['cleanup']['button'] = array(
    '#type' => 'submit',
    '#value' => t('Clean up orphaned organisms'),
    '#weight' => 2,
  );
}