Since #2666808: Add a revisionable entity base class and log interface core has added \Drupal\Core\Entity\RevisionLogInterface almost all revision-able entities implement this. If the interface is not implemented then there is no safe way to get LastRevisionAuthor.

CommentFileSizeAuthor
#2 3123657-2.patch1.2 KBjibran

Comments

jibran created an issue. See original summary.

jibran’s picture

Status: Active » Needs review
Related issues: +#3088521: Wrong user selected in last revision author recipient type
StatusFileSize
new1.2 KB

Let's see how much this fails.

  • larowlan committed 9851d74 on 8.x-1.x authored by jibran
    Issue #3123657 by jibran: LastRevisionAuthor should use...
larowlan’s picture

Status: Needs review » Fixed
larowlan’s picture

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.