Browse Source

Removed extra type options from the relationship widget for now.

Lacey Sanderson 6 years ago
parent
commit
73fd9b29a1

+ 7 - 0
tripal_chado/includes/TripalFields/sbo__relationship/sbo__relationship_widget.inc

@@ -511,6 +511,13 @@ class sbo__relationship_widget extends ChadoFieldWidget {
    */
   public function get_rtype_select_options() {
 
+    // This is slated for Release 2 of this widget.
+    // It still needs extensive functional and automated testing.
+    // Thus for now we are falling back on the Default option:
+    // Form will provide a type autocomplete + vocab select.
+    // @todo test this.
+    return FALSE;
+
     // Get the instance settings. There are three options for how this widget
     // will be displayed. Those are controlled in the instance settings
     // of the field.