public function ProfileInterface::setRevisionAuthorId in Profile 8
Sets the profile revision author.
Parameters
int $uid: The user ID of the revision author.
Return value
$this
Deprecated
in Profile 1.0-rc5. Use \Drupal\Core\Entity\RevisionLogInterface::setRevisionUserId() instead.
1 method overrides ProfileInterface::setRevisionAuthorId()
- Profile::setRevisionAuthorId in src/
Entity/ Profile.php - Sets the profile revision author.
File
- src/
Entity/ ProfileInterface.php, line 137
Class
- ProfileInterface
- Provides an interface for profiles.
Namespace
Drupal\profile\EntityCode
public function setRevisionAuthorId($uid);