Skip to content
Snippets Groups Projects
Commit 5dd74482 authored by Alex Pott's avatar Alex Pott
Browse files

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

parent f3baea11
No related branches found
No related tags found
No related merge requests found
......@@ -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');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment