public Node::getRevisionAuthor()
Gets the node revision author.
Return value
\Drupal\user\UserInterface The user entity for the revision author.
Overrides NodeInterface::getRevisionAuthor
Deprecated in Drupal 8.2.0, will be removed before Drupal 9.0.0. Use \Drupal\Core\Entity\RevisionLogInterface::getRevisionUser() instead.
File
core/modules/node/src/Entity/Node.php, line 308
Class
Node Defines the node entity class.
Namespace
Drupal\node\Entity
Code
public function getRevisionAuth