function Node::getRevisionAuthor

Overrides NodeInterface::getRevisionAuthor

File

core/modules/node/src/Entity/Node.php, line 261

Class

Node
Defines the node entity class.

Namespace

Drupal\node\Entity

Code

public function getRevisionAuthor() {
    @trigger_error(__NAMESPACE__ . '\\Node::getRevisionAuthor is deprecated in drupal:8.2.0 and is removed from drupal:9.0.0. Use \\Drupal\\Core\\Entity\\RevisionLogInterface::getRevisionUser() instead. See https://www.drupal.org/node/3069750', E_USER_DEPRECATED);
    return $this->getRevisionUser();
}

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