You are here

public function Profile::getRevisionAuthor in Profile 8

Gets the profile revision author.

Return value

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

Overrides ProfileInterface::getRevisionAuthor

File

src/Entity/Profile.php, line 188

Class

Profile
Defines the profile entity class.

Namespace

Drupal\profile\Entity

Code

public function getRevisionAuthor() {
  return $this
    ->get('revision_uid')->entity;
}