Closed (fixed)
Project:
Drupal core
Version:
7.x-dev
Component:
documentation
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
18 Jan 2011 at 19:46 UTC
Updated:
3 Jan 2014 at 02:58 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
jhodgdonHmmm -- good question. I will see if I can find the answer. Probably the answer is that you should just use entity_load() for loading one entity as well, but I really don't know why that was put in there.
Comment #2
jhodgdonI talked with EclipseCG in IRC just now, and the answer is that most entities provide their own single-object loading function (such as node_load(), etc.). However, these usually end up calling entity_load() anyway and there is no reason not to just call entity_load() directly. So we should just take that sentence out.
Thanks for posting this issue Daniel!
Good project for a novice doc contributor...
Comment #3
jhodgdonHere's a patch.
Comment #4
kim-day commentedpatch looks good
Comment #5
kim-day commentedComment #6
jhodgdonNeeds to go to d8 and then d7
Comment #7
dries commentedCommitted to 8.x. Moving to 7.x.
Comment #8
webchickCommitted to 7.x. Thanks!