diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-11-20 09:43:43 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-11-20 09:43:43 +0000 |
commit | ed4b74024a7da131d38d973ee5688a950adaf6db (patch) | |
tree | 50e676f48ef4a9a24ef8699a361fb2598568b4a7 /modules/node | |
parent | d54e67002b84b09b5df4c5af5775054d5dedf3aa (diff) | |
download | brdo-ed4b74024a7da131d38d973ee5688a950adaf6db.tar.gz brdo-ed4b74024a7da131d38d973ee5688a950adaf6db.tar.bz2 |
#920600 by bojanz, solotandem: Fixed Document the deprecated parameter in entity_load()
Diffstat (limited to 'modules/node')
-rw-r--r-- | modules/node/node.module | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/modules/node/node.module b/modules/node/node.module index 154119d6a..22946da2e 100644 --- a/modules/node/node.module +++ b/modules/node/node.module @@ -875,16 +875,23 @@ function node_invoke($node, $hook, $a2 = NULL, $a3 = NULL, $a4 = NULL) { * database access if loaded again during the same page request. * * @see entity_load() + * @see EntityFieldQuery * * @param $nids * An array of node IDs. * @param $conditions - * An array of conditions on the {node} table in the form 'field' => $value. + * (deprecated) An associative array of conditions on the {node} + * table, where the keys are the database fields and the values are the + * values those fields must have. Instead, it is preferable to use + * EntityFieldQuery to retrieve a list of entity IDs loadable by + * this function. * @param $reset * Whether to reset the internal node_load cache. * * @return * An array of node objects indexed by nid. + * + * @todo Remove $conditions in Drupal 8. */ function node_load_multiple($nids = array(), $conditions = array(), $reset = FALSE) { return entity_load('node', $nids, $conditions, $reset); |