function tripal_cv_cv_add_form
2.x tripal_cv.cv_form.inc | tripal_cv_cv_add_form($form, &$form_state) |
3.x tripal_chado.cv.inc | tripal_cv_cv_add_form($form, &$form_state) |
Form to add contolled vocabularies
Related topics
1 string reference to 'tripal_cv_cv_add_form'
- tripal_cv_menu in tripal_cv/
tripal_cv.module - Implements hook_menu(). Registers all menu items associated with this module
File
- tripal_cv/
includes/ tripal_cv.cv_form.inc, line 82 - Provides a form for creating & editing chado controlled vocabularies
Code
function tripal_cv_cv_add_form($form, &$form_state) {
// add in the form fields to this form
tripal_cv_add_cv_form_fields($form, $form_state);
$form['add'] = array(
'#type' => 'submit',
'#value' => t('Add'),
'#weight' => 5,
);
return $form;
}