public function ModerationStateDeleteForm::getConfirmText in Workbench Moderation 8
Same name and namespace in other branches
- 8.2 src/Form/ModerationStateDeleteForm.php \Drupal\workbench_moderation\Form\ModerationStateDeleteForm::getConfirmText()
Returns a caption for the button that confirms the action.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup The form confirmation text.
Overrides EntityConfirmFormBase::getConfirmText
File
- src/
Form/ ModerationStateDeleteForm.php, line 31
Class
- ModerationStateDeleteForm
- Builds the form to delete Moderation state entities.
Namespace
Drupal\workbench_moderation\FormCode
public function getConfirmText() {
return $this
->t('Delete');
}