You are here

public function Profile::getRevisionAuthor in Profile 2 8

Returns 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 237
Contains \Drupal\profile\Entity\Profile.

Class

Profile
Defines the profile entity class.

Namespace

Drupal\profile\Entity

Code

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