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
Deprecated
in Profile 1.0-rc5. Use \Drupal\Core\Entity\RevisionLogInterface::setRevisionUserId() instead.
File
- src/
Entity/ Profile.php, line 195
Class
- Profile
- Defines the profile entity class.
Namespace
Drupal\profile\EntityCode
public function setRevisionAuthorId($uid) {
$this
->set('revision_uid', $uid);
return $this;
}