NodeInterface::getRevisionAuthor

public 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, will be removed before Drupal 9.0.0. Use \Drupal\Core\Entity\RevisionLogInterface::getRevisionUser() instead.

File

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

Class

NodeInterface
Provides an interface defining a node entity.

Namespace

Drupal\node

Code

public function getRevisionAuthor();
doc_Drupal
2016-10-29 09:30:55
Comments
Leave a Comment

Please login to continue.