Skip to main content
7 events
when toggle format what by license comment
Jun 13, 2022 at 15:47 comment added avpaderno At the end, Drupal 8 deprecated both node_load_multiple() and user_load_multiple(), not just the last parameter they used. I would say it's safe to use that parameter on Drupal 7, since the code for Drupal 8 won't use node_load_multiple() nor user_load_multiple().
Feb 7, 2015 at 20:01 comment added commonpike I was doing something slightly different and needed to specify entity_load($entity_type, array_keys($results['node']));. Havent tested it for other entities..
Feb 7, 2015 at 14:18 comment added Letharion @commonpike Most likely, yes. I don't have the opportunity to check at the moment, but feel free to edit and correct if you test it out. :)
Feb 5, 2015 at 13:21 comment added commonpike did you mean array_keys($results[$entity_type]) ?
Jul 26, 2013 at 11:58 comment added Letharion I figured I didn't even need to refer to the old versions with deprecated arguments since I just used entity_load right away. That way there's "no" risk of people accidentally ending up using the deprecated functionality. Or do you disagree with that?
Jul 26, 2013 at 11:53 comment added avpaderno I was going to add an answer about EntityFieldQuery, but you have already written yours. I would just add that the second argument of user_load_multiple() has been deprecated since Drupal 7, and the used code should be the one you show.
Jul 26, 2013 at 11:10 history answered Letharion CC BY-SA 3.0