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

Issue #2818267 by vanessakovalsky, timmillwood, shashikant_chauhan, Sam152:...

Issue #2818267 by vanessakovalsky, timmillwood, shashikant_chauhan, Sam152: Remove delete link from Manage moderation settings page
parent bb55292a
No related merge requests found
......@@ -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;
}
}
......@@ -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'));
......
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