summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorJennifer Hodgdon <yahgrp@poplarware.com>2015-02-17 16:34:25 -0800
committerJennifer Hodgdon <yahgrp@poplarware.com>2015-02-17 16:34:25 -0800
commit9b993d50861ca924ce285c04e45d722b17db3598 (patch)
treeb453939c7c8d87af9d83a7de2010ef134d1c6e03 /includes
parent4d1840e620bfb6e619c0cdd05e61e8a25252f491 (diff)
downloadbrdo-9b993d50861ca924ce285c04e45d722b17db3598.tar.gz
brdo-9b993d50861ca924ce285c04e45d722b17db3598.tar.bz2
Issue #1081902 by zealfire: DrupalEntityControllerInterface::load - doc needs to clarify $conditions
Diffstat (limited to 'includes')
-rw-r--r--includes/entity.inc8
1 files changed, 6 insertions, 2 deletions
diff --git a/includes/entity.inc b/includes/entity.inc
index 203ed87f9..27434d048 100644
--- a/includes/entity.inc
+++ b/includes/entity.inc
@@ -28,7 +28,9 @@ interface DrupalEntityControllerInterface {
* @param $ids
* An array of entity IDs, or FALSE to load all entities.
* @param $conditions
- * An array of conditions in the form 'field' => $value.
+ * An array of conditions. Keys are field names on the entity's base table.
+ * Values will be compared for equality. All the comparisons will be ANDed
+ * together. This parameter is deprecated; use an EntityFieldQuery instead.
*
* @return
* An array of entity objects indexed by their ids. When no results are
@@ -236,7 +238,9 @@ class DrupalDefaultEntityController implements DrupalEntityControllerInterface {
* @param $ids
* An array of entity IDs, or FALSE to load all entities.
* @param $conditions
- * An array of conditions in the form 'field' => $value.
+ * An array of conditions. Keys are field names on the entity's base table.
+ * Values will be compared for equality. All the comparisons will be ANDed
+ * together. This parameter is deprecated; use an EntityFieldQuery instead.
* @param $revision_id
* The ID of the revision to load, or FALSE if this query is asking for the
* most current revision(s).