Commit 5dd74482 authored by alexpott's avatar alexpott
Browse files

Issue #2844007 by Sam152: Decide if the moderation controls form should set a revision log message

parent f3baea11
......@@ -126,8 +126,6 @@ public function submitForm(array &$form, FormStateInterface $form_state) {
$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');
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment