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