- Issue created by @dpi
- 🇦🇺Australia dpi Perth, Australia
It would be easy to copy the param doc from
\Drupal\Core\Entity\EntityStorageInterface::loadRevision
from the Drupal 10 branches (it is deprecated for D11) - Status changed to Needs review
about 1 year ago 2:49am 30 September 2023 - last update
about 1 year ago 30,360 pass - Status changed to RTBC
about 1 year ago 6:41pm 30 September 2023 - 🇺🇸United States smustgrave
Param doc was copied from \Drupal\Core\Entity\EntityStorageInterface::loadRevision
- last update
about 1 year ago 30,360 pass - last update
about 1 year ago 30,371 pass - last update
about 1 year ago 30,377 pass - last update
about 1 year ago 30,382 pass - last update
about 1 year ago 30,384 pass - last update
about 1 year ago 30,394 pass - last update
about 1 year ago 30,397 pass - last update
about 1 year ago 30,411 pass 28:47 25:24 Running- last update
about 1 year ago 30,420 pass - last update
about 1 year ago 30,426 pass - last update
about 1 year ago 30,434 pass - last update
about 1 year ago 30,438 pass - last update
about 1 year ago 30,464 pass - last update
about 1 year ago 30,481 pass - last update
about 1 year ago 30,483 pass - last update
about 1 year ago 30,486 pass - last update
about 1 year ago 30,486 pass - last update
about 1 year ago 30,493 pass - Status changed to Needs work
about 1 year ago 8:58am 9 November 2023 - 🇬🇧United Kingdom alexpott 🇪🇺🌍
I think this issue should go a bit further and make consistent.
\Drupal\Core\Entity\EntityRepository::loadRevision()
\Drupal\Core\Entity\RevisionableInterface::getLoadedRevisionId()
\Drupal\Core\Entity\RevisionableStorageInterface::deleteRevision()I also think it is worth asking is it really true that revision IDs can be non numeric strings. Yes entity IDs can be strings but that is not the same as a revision ID. I think a revision ID should always be an integer - I'd be amazed if there is any true string revision IDs in contrib or custom. So maybe the fix here is to change them to int and add some casting.