Closed (duplicate)
Project:
Drupal core
Version:
8.0.x-dev
Component:
entity system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
18 Apr 2012 at 16:53 UTC
Updated:
29 Jul 2014 at 20:36 UTC
This is a followup of entity_load() is actually entity_load_multiple(). We should standardize foo_load() due to inconsistencies (e.g. node_load() and taxonomy_term_load()).
@todo
@todo
N/A
@todo
Comments
Comment #0.0
ryan.ryan commentedAdding a full issue summary template.
Comment #0.1
ryan.ryan commentedUpdated issue summary.
Comment #0.2
ryan.ryan commentedUpdated issue summary.
Comment #1
ryan.ryan commentedChanging the title.
Comment #1.0
ryan.ryan commentedUpdated issue summary.
Comment #2
fagofrom http://drupal.org/node/1160566#comment-5862430
Agreed.
The $id parameter for foo_load() and foo_load_multiple() functions should follow the defaults of entity_load() and entity_load_multiple() and then just call this respective functions. For now, just node_load() has to stay a bit different has it's the only entity type that is revisionable. (We should do entity_revision_load(), but that's another issue.)
Comment #3
berdir#1184272: Remove deprecated $conditions support from entity controller alread goes a long way in regards to removing the $vid from node_load().
Comment #4
berdir#1538368: Standardizing [entity_type]_load() went in and I opened #1538368: Standardizing [entity_type]_load() which should result in unified load functions everywhere, closing this as a duplicate of those.
Comment #4.0
berdirAdded todos