From 9b993d50861ca924ce285c04e45d722b17db3598 Mon Sep 17 00:00:00 2001 From: Jennifer Hodgdon Date: Tue, 17 Feb 2015 16:34:25 -0800 Subject: Issue #1081902 by zealfire: DrupalEntityControllerInterface::load - doc needs to clarify $conditions --- includes/entity.inc | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'includes') 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). -- cgit v1.2.3