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