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

8.3.x
Alex Pott 2017-01-17 15:17:47 +00:00
parent f3baea1166
commit 5dd7448232
1 changed files with 0 additions and 2 deletions

View File

@ -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');