Closed (fixed)
Project:
Drupal core
Version:
9.3.x-dev
Component:
documentation
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
31 May 2019 at 09:28 UTC
Updated:
3 Jun 2022 at 11:39 UTC
Jump to comment: Most recent
Comments
Comment #2
init90Looks like loadTree() always return numeric (indexed) an array. In that case 'keyed by' indication seems unneeded.
Comment #3
joachim commentedMost of the load() or loadFoo() methods on entity storage handlers are keyed by entity ID, so this should say its numerically-indexed array so developers don't make an incorrect assumption.
Comment #9
guilhermevp commentedComment #11
guilhermevp commentedSending MR, please review!
Should this be tagged under bug smash initiative?
Comment #12
joachim commentedPerfect, thanks!
Comment #13
quietone commentedSorry, wee grammar error.
Comment #14
joachim commentedI'd say "numerically indexed" to avoid ambiguity. Searching core shows that phrase is used quite often.
Comment #16
andregp commentedMoving to RTBC for the following reasons.
- The change is simple and looks fine.
- @joachim already RTBCed this on #12
- The small correction asked by @quietone on #13 was correctly fixed in #15
Comment #17
quietone commentedThis will need a 10.0.x branch. I tried to change it in GitLab but it needs to be rebased.
Comment #19
joachim commentedDone!
The git command to use for this is:
> git rebase --onto 10.0.x 9.4.x
which means 'snip at 9.4.x and then stick onto 10.0.x'
Comment #22
catchCommitted/pushed to 10.0.x and backported through to 9.3.x, thanks!