diff --git a/core/modules/content_moderation/src/Form/BundleModerationConfigurationForm.php b/core/modules/content_moderation/src/Form/BundleModerationConfigurationForm.php index 10b3d6aecfcc8c9215283ce15563b6bcfcdb4147..917ec5dedac2cae18733e623b6f7e6cbca894263 100644 --- a/core/modules/content_moderation/src/Form/BundleModerationConfigurationForm.php +++ b/core/modules/content_moderation/src/Form/BundleModerationConfigurationForm.php @@ -139,4 +139,17 @@ public function save(array $form, FormStateInterface $form_state) { } } + /** + * {@inheritdoc} + */ + protected function actions(array $form, FormStateInterface $form_state) { + $actions['submit'] = [ + '#type' => 'submit', + '#value' => $this->t('Save'), + '#submit' => ['::submitForm', '::save'], + ]; + + return $actions; + } + } diff --git a/core/modules/content_moderation/src/Tests/ModerationStateNodeTypeTest.php b/core/modules/content_moderation/src/Tests/ModerationStateNodeTypeTest.php index 39e1a2c3f03b6fa441edb8ccc37b9a32f15b2cc9..099b4dc61f9e0bc0d4a2f8e1bd65541b377e73ba 100644 --- a/core/modules/content_moderation/src/Tests/ModerationStateNodeTypeTest.php +++ b/core/modules/content_moderation/src/Tests/ModerationStateNodeTypeTest.php @@ -50,6 +50,7 @@ public function testEnablingOnExistingContent() { $this->assertLinkByHref('admin/structure/types/manage/not_moderated/moderation'); $this->drupalGet('admin/structure/types/manage/not_moderated/moderation'); $this->assertOptionSelected('edit-workflow', ''); + $this->assertNoLink('Delete'); $edit['workflow'] = 'editorial'; $this->drupalPostForm(NULL, $edit, t('Save'));