Same name and namespace in other branches
  1. 8.9.x core/lib/Drupal/Core/Entity/RevisionLogInterface.php \Drupal\Core\Entity\RevisionLogInterface::getRevisionUser()
  2. 9 core/lib/Drupal/Core/Entity/RevisionLogInterface.php \Drupal\Core\Entity\RevisionLogInterface::getRevisionUser()

Gets the entity revision author.

Return value

\Drupal\user\UserInterface|null The user entity for the revision author, or NULL if not set or user was deleted.

File

core/lib/Drupal/Core/Entity/RevisionLogInterface.php, line 39

Class

RevisionLogInterface
Defines methods for an entity that supports revision logging and ownership.

Namespace

Drupal\Core\Entity

Code

public function getRevisionUser();