public function HeartbeatStream::setRevisionUserId in Heartbeat 8
Implements \Drupal\Core\Entity\RevisionLogInterface::setRevisionUserId().
Overrides RevisionLogEntityTrait::setRevisionUserId
1 call to HeartbeatStream::setRevisionUserId()
- HeartbeatStream::preSave in src/
Entity/ HeartbeatStream.php - Acts on an entity before the presave hook is invoked.
File
- src/
Entity/ HeartbeatStream.php, line 327
Class
- HeartbeatStream
- Defines the Heartbeat stream entity.
Namespace
Drupal\heartbeat\EntityCode
public function setRevisionUserId($uid) {
$this
->set('revision_uid', $uid);
return $this;
}