You are here

public function YamlFormSubmissionsPurgeForm::getConfirmText in YAML Form 8

Returns a caption for the button that confirms the action.

Return value

\Drupal\Core\StringTranslation\TranslatableMarkup The form confirmation text.

Overrides YamlFormSubmissionsDeleteFormBase::getConfirmText

File

src/Form/YamlFormSubmissionsPurgeForm.php, line 30

Class

YamlFormSubmissionsPurgeForm
Form for form submission purge form.

Namespace

Drupal\yamlform\Form

Code

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