You are here

public function Profile::setRevisionAuthorId in Profile 8

Sets the profile revision author.

Parameters

int $uid: The user ID of the revision author.

Return value

$this

Overrides ProfileInterface::setRevisionAuthorId

File

src/Entity/Profile.php, line 195

Class

Profile
Defines the profile entity class.

Namespace

Drupal\profile\Entity

Code

public function setRevisionAuthorId($uid) {
  $this
    ->set('revision_uid', $uid);
  return $this;
}