diff options
author | webchick <webchick@24967.no-reply.drupal.org> | 2011-06-01 01:44:48 -0700 |
---|---|---|
committer | webchick <webchick@24967.no-reply.drupal.org> | 2011-06-01 01:44:48 -0700 |
commit | 6f53d446aaf3008f042a3d294ec4f292f179378d (patch) | |
tree | a91356cb03fbc58fdb4bc0fda08c98402fe62286 /includes | |
parent | 6fc37ebf29806208f58c5790430ce798fecdff89 (diff) | |
download | brdo-6f53d446aaf3008f042a3d294ec4f292f179378d.tar.gz brdo-6f53d446aaf3008f042a3d294ec4f292f179378d.tar.bz2 |
Issue #1161240 by barbi, jhodgdon: Added Need documentation of non-matching return value for taxonomy_term_load_multiple(), entity_load_multiple(), and DrupalEntityControlle.
Diffstat (limited to 'includes')
-rw-r--r-- | includes/common.inc | 3 | ||||
-rw-r--r-- | includes/entity.inc | 3 |
2 files changed, 4 insertions, 2 deletions
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()); } |