How do I retrieve the user ID of the latest editor of a node?
$node-&gt;getOwnerID() returns the user ID for the user who created the node. If you need the user who created the revision, you need to use $node-&gt;getRevisionUser(), or $node-&gt;getRevisionUserId() for the user ID.