function get_tripal_project_admin_form_cleanup_set
1.x tripal_project.admin.inc | get_tripal_project_admin_form_cleanup_set(&$form) |
Related topics
1 call to get_tripal_project_admin_form_cleanup_set()
- tripal_project_admin in tripal_project/
includes/ tripal_project.admin.inc
File
- tripal_project/
includes/ tripal_project.admin.inc, line 42 - @todo Add file header description
Code
function get_tripal_project_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 projects in Chado become " .
"\"orphaned\". This can occur if an project node in Drupal is " .
"deleted but the corresponding chado project 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 projects'),
'#weight' => 2,
);
}