tripal_ws.admin.inc 542 B

1234567891011121314151617181920
  1. <?php
  2. /**
  3. * Provide form to store information of other Tripal sites
  4. *
  5. * @param unknown $form
  6. * @param unknown $form_state
  7. */
  8. function tripal_ws_tripal_sites_form($form, &$form_state) {
  9. $form = array();
  10. $form['add_tripal_site'] = array(
  11. '#markup' => l('Add Tripal site', '/admin/tripal/ws/tripal_sites/add')
  12. );
  13. $sites = array('Select a Tripal site');
  14. $form['edit_tripal_site'] = array(
  15. '#type' => 'select',
  16. '#description' => 'Make change to an existing Tripal site',
  17. '#options' => $sites
  18. );
  19. return $form;
  20. }