public Node::getRevisionUserId()
Gets the entity revision author ID.
Return value
int The user ID.
Overrides RevisionLogInterface::getRevisionUserId
File
- core/modules/node/src/Entity/Node.php, line 338
Class
- Node
- Defines the node entity class.
Namespace
Drupal\node\Entity
Code
public function getRevisionUserId() { return $this->get('revision_uid')->entity->id(); }
Please login to continue.