diff --git a/html/modules/custom/reliefweb_fields/src/Form/TaxonomyTermProfile.php b/html/modules/custom/reliefweb_fields/src/Form/TaxonomyTermProfile.php index 6396a4d9e..60519c5db 100644 --- a/html/modules/custom/reliefweb_fields/src/Form/TaxonomyTermProfile.php +++ b/html/modules/custom/reliefweb_fields/src/Form/TaxonomyTermProfile.php @@ -42,6 +42,8 @@ public function actions(array $form, FormStateInterface $form_state) { * {@inheritdoc} */ public function save(array $form, FormStateInterface $form_state) { + $this->entity->setRevisionUserId($this->currentUser()->id()); + $this->entity->setRevisionCreationTime(time()); $this->entity->setRevisionLogMessage(strtr('!bundle profile update', [ '!bundle' => $this->getBundleLabel(), ])); diff --git a/html/modules/custom/reliefweb_fields/src/Form/TaxonomyTermUserPostingRights.php b/html/modules/custom/reliefweb_fields/src/Form/TaxonomyTermUserPostingRights.php index d84f68d8a..ddf19833c 100644 --- a/html/modules/custom/reliefweb_fields/src/Form/TaxonomyTermUserPostingRights.php +++ b/html/modules/custom/reliefweb_fields/src/Form/TaxonomyTermUserPostingRights.php @@ -42,6 +42,8 @@ public function actions(array $form, FormStateInterface $form_state) { * {@inheritdoc} */ public function save(array $form, FormStateInterface $form_state) { + $this->entity->setRevisionUserId($this->currentUser()->id()); + $this->entity->setRevisionCreationTime(time()); $this->entity->setRevisionLogMessage('User posting rights update'); return parent::save($form, $form_state); }