function get_tripal_featuremap_admin_form_cleanup_set
1.x tripal_featuremap.admin.inc | get_tripal_featuremap_admin_form_cleanup_set(&$form) |
Related topics
1 call to get_tripal_featuremap_admin_form_cleanup_set()
- tripal_featuremap_admin in tripal_featuremap/
includes/ tripal_featuremap.admin.inc - Administrative settings form
File
- tripal_featuremap/
includes/ tripal_featuremap.admin.inc, line 43
Code
function get_tripal_featuremap_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 maps in Chado become " .
"\"orphaned\". This can occur if an map node in Drupal is " .
"deleted but the corresponding chado map 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 maps'),
'#weight' => 2,
);
}