function NodeInterface::getRevisionAuthor

Gets the node revision author.

Return value

\Drupal\user\UserInterface The user entity for the revision author.

Deprecated

in drupal:8.2.0 and is removed from drupal:9.0.0. Use \Drupal\Core\Entity\RevisionLogInterface::getRevisionUser() instead.

See also

https://www.drupal.org/node/3069750

1 method overrides NodeInterface::getRevisionAuthor()
Node::getRevisionAuthor in core/modules/node/src/Entity/Node.php
Gets the node revision author.

File

core/modules/node/src/NodeInterface.php, line 160

Class

NodeInterface
Provides an interface defining a node entity.

Namespace

Drupal\node

Code

public function getRevisionAuthor();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.