You are here

public function EntityRevisionLogInterface::getRevisionUser in Entity API 8.0

Gets the entity revision author.

Return value

\Drupal\user\UserInterface|NULL The user entity for the revision author. Return NULL if the entity type doesn't support revision authors.

File

src/Revision/EntityRevisionLogInterface.php, line 43
Contains \Drupal\entity\Revision\EntityRevisionLogInterface.

Class

EntityRevisionLogInterface
Defines an entity type with create time/author/log information for revisions.

Namespace

Drupal\entity\Revision

Code

public function getRevisionUser();