From 6f53d446aaf3008f042a3d294ec4f292f179378d Mon Sep 17 00:00:00 2001 From: webchick Date: Wed, 1 Jun 2011 01:44:48 -0700 Subject: Issue #1161240 by barbi, jhodgdon: Added Need documentation of non-matching return value for taxonomy_term_load_multiple(), entity_load_multiple(), and DrupalEntityControlle. --- includes/common.inc | 3 ++- includes/entity.inc | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'includes') diff --git a/includes/common.inc b/includes/common.inc index 0e8edeaa6..c0f2351c3 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -7436,7 +7436,8 @@ function entity_create_stub_entity($entity_type, $ids) { * Whether to reset the internal cache for the requested entity type. * * @return - * An array of entity objects indexed by their ids. + * An array of entity objects indexed by their ids. When no results are + * found, an empty array is returned. * * @todo Remove $conditions in Drupal 8. */ diff --git a/includes/entity.inc b/includes/entity.inc index a3cdf7417..aaa39d871 100644 --- a/includes/entity.inc +++ b/includes/entity.inc @@ -39,7 +39,8 @@ interface DrupalEntityControllerInterface { * An array of conditions in the form 'field' => $value. * * @return - * An array of entity objects indexed by their ids. + * An array of entity objects indexed by their ids. When no results are + * found, an empty array is returned. */ public function load($ids = array(), $conditions = array()); } -- cgit v1.2.3