Browse Source

Added tripal_chado_field_storage_query() to stop errors.

Lacey Sanderson 9 years ago
parent
commit
4088d74f2c
1 changed files with 12 additions and 1 deletions
  1. 12 1
      tripal_chado/includes/tripal_chado.field_storage.inc

+ 12 - 1
tripal_chado/includes/tripal_chado.field_storage.inc

@@ -359,4 +359,15 @@ function tripal_chado_field_storage_unnest_fields($fields, $entity_type, $entity
     }
   }
   return $new_fields;
-}
+}
+
+/**
+ * Implements hook_field_storage_query().
+ *
+ * Used by EntityFieldQuery to find the entities having certain entity 
+ * and field conditions and sort them in the given field order.
+ *
+ * NOTE: This function needs to exist or errors are triggered but so far it doesn't
+ * appear to actually need to do anything...
+ */
+function tripal_chado_field_storage_query($query) { }