summaryrefslogtreecommitdiff
path: root/modules/field/field.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/field/field.module')
-rw-r--r--modules/field/field.module19
1 files changed, 19 insertions, 0 deletions
diff --git a/modules/field/field.module b/modules/field/field.module
index 29bf758fa..f518169f9 100644
--- a/modules/field/field.module
+++ b/modules/field/field.module
@@ -87,6 +87,25 @@ define('FIELD_LOAD_CURRENT', 'FIELD_LOAD_CURRENT');
*/
define('FIELD_LOAD_REVISION', 'FIELD_LOAD_REVISION');
+/**
+ * @name Field query flags
+ * @{
+ * Flags for use in the $result_format parameter in field_attach_query().
+ */
+
+/**
+ * Result format argument for field_attach_query().
+ */
+define('FIELD_QUERY_RETURN_VALUES', 'FIELD_QUERY_RETURN_VALUES');
+
+/**
+ * Result format argument for field_attach_query().
+ */
+define('FIELD_QUERY_RETURN_IDS', 'FIELD_QUERY_RETURN_IDS');
+
+/**
+ * @} End of "Field query flags".
+ */
/**
* Base class for all exceptions thrown by Field API functions.