function tripal_feature_implement_back_to_feature_button
1.x tripal_feature-secondary_tables.inc | tripal_feature_implement_back_to_feature_button($form_state, $nid) |
Related topics
3 string references to 'tripal_feature_implement_back_to_feature_button'
- tripal_feature_edit_ALL_dbreferences_page in tripal_feature/
includes/ tripal_feature-db_references.inc - tripal_feature_edit_ALL_properties_page in tripal_feature/
includes/ tripal_feature-properties.inc - tripal_feature_edit_ALL_relationships_page in tripal_feature/
includes/ tripal_feature-relationships.inc
File
- tripal_feature/
includes/ tripal_feature-secondary_tables.inc, line 12 - @todo Add file header description
Code
function tripal_feature_implement_back_to_feature_button($form_state, $nid) {
$form = array();
$form['nid'] = array(
'#type' => 'hidden',
'#value' => $nid
);
$form["submit-back"] = array(
'#type' => 'submit',
'#value' => t('Back to Stock')
);
return $form;
}