You are here

public function FillPdfFormDeleteForm::getConfirmText in FillPDF 8.4

Same name and namespace in other branches
  1. 5.0.x src/Form/FillPdfFormDeleteForm.php \Drupal\fillpdf\Form\FillPdfFormDeleteForm::getConfirmText()

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/FillPdfFormDeleteForm.php, line 32

Class

FillPdfFormDeleteForm
Provides a deletion confirmation form for a FillPdfForm.

Namespace

Drupal\fillpdf\Form

Code

public function getConfirmText() {
  return $this
    ->t('Delete');
}