public function preSave(EntityStorageInterface $storage) {
// If no revision author has been set explicitly, make the entity owner the
// revision author.
if (!$this
->getRevisionUser()) {
$this
->setRevisionUserId($this
->getOwnerId());
}
parent::preSave($storage);
}