public function RedirectDeleteForm::getConfirmText in Redirect 8
Returns a caption for the button that confirms the action.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup The form confirmation text.
Overrides ContentEntityConfirmFormBase::getConfirmText
File
- src/
Form/ RedirectDeleteForm.php, line 28
Class
Namespace
Drupal\redirect\FormCode
public function getConfirmText() {
return $this
->t('Delete');
}