diff --git a/core/modules/content_moderation/src/Form/BundleModerationConfigurationForm.php b/core/modules/content_moderation/src/Form/BundleModerationConfigurationForm.php index 10b3d6aecfc..917ec5dedac 100644 --- a/core/modules/content_moderation/src/Form/BundleModerationConfigurationForm.php +++ b/core/modules/content_moderation/src/Form/BundleModerationConfigurationForm.php @@ -139,4 +139,17 @@ class BundleModerationConfigurationForm extends EntityForm { } } + /** + * {@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 39e1a2c3f03..099b4dc61f9 100644 --- a/core/modules/content_moderation/src/Tests/ModerationStateNodeTypeTest.php +++ b/core/modules/content_moderation/src/Tests/ModerationStateNodeTypeTest.php @@ -50,6 +50,7 @@ class ModerationStateNodeTypeTest extends ModerationStateTestBase { $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'));