Reviewed & tested by the community
Project:
Drupal core
Version:
main
Component:
entity system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
11 Jan 2023 at 15:47 UTC
Updated:
1 May 2026 at 16:16 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
liam morlandComment #3
liam morlandFix spelling error.
Comment #5
liam morlandPatch only changes comments, so the failures are not due to the patch.
Comment #6
joel_osc commentedGiven then trouble that I have had dealing with this before I think that this change would benefit the community.
Comment #7
alexpottShouldn't this documentation be on \Drupal\Core\Entity\RevisionableStorageInterface::getLatestRevisionId() - this would seem to return the revision ID for the entity revision you have loaded.
Comment #8
liam morlandDo you mean to add the documentation to
RevisionableStorageInterface::getLatestRevisionId()in addition to the current change or instead of?Comment #12
liam morlandComment #13
dcam commentedI dug into this to try and answer the question from #8.
RevisionableStorageInterface::getLatestRevisionId()is also not translation-aware. I think the text should be added to it too, particularly since it seems to be more closely related togetLatestTranslationAffectedRevisionId(). If further clarification is desired, then I suggest contacting @alexpott on Slack.Comment #14
liam morlandI have added the documentation to
RevisionableStorageInterface.Comment #15
smustgrave commented@alexpott thoughts on the change.
Comment #16
dcam commentedThank you for copying the info to the new function. I'm sorry I didn't come back to review it sooner.
I'm willing to go ahead and RTBC the MR. Based on my analysis in #13 this is the appropriate course of action.