summaryrefslogtreecommitdiffstats
path: root/core/modules/content_moderation/src
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/content_moderation/src')
-rw-r--r--core/modules/content_moderation/src/Entity/Handler/NodeModerationHandler.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/content_moderation/src/Entity/Handler/NodeModerationHandler.php b/core/modules/content_moderation/src/Entity/Handler/NodeModerationHandler.php
index 87e1b22..f07e780 100644
--- a/core/modules/content_moderation/src/Entity/Handler/NodeModerationHandler.php
+++ b/core/modules/content_moderation/src/Entity/Handler/NodeModerationHandler.php
@@ -54,7 +54,7 @@ class NodeModerationHandler extends ModerationHandler {
*/
public function enforceRevisionsBundleFormAlter(array &$form, FormStateInterface $form_state, $form_id) {
// Force the revision checkbox on.
- $form['workflow']['options']['#value']['revision'] = 'revision';
+ $form['workflow']['options']['revision']['#value'] = 'revision';
$form['workflow']['options']['revision']['#disabled'] = TRUE;
}