diff --git a/core/modules/content_moderation/src/Form/EntityModerationForm.php b/core/modules/content_moderation/src/Form/EntityModerationForm.php index 6f9de1f5ef2..6b13ff70839 100644 --- a/core/modules/content_moderation/src/Form/EntityModerationForm.php +++ b/core/modules/content_moderation/src/Form/EntityModerationForm.php @@ -126,8 +126,6 @@ class EntityModerationForm extends FormBase { $new_state = $form_state->getValue('new_state'); - // @todo should we just just be updating the content moderation state - // entity? That would prevent setting the revision log. $entity->set('moderation_state', $new_state); $entity->revision_log = $form_state->getValue('revision_log');