You are here

public function WebformVariantApplyForm::getConfirmText in Webform 6.x

Same name and namespace in other branches
  1. 8.5 src/Form/WebformVariantApplyForm.php \Drupal\webform\Form\WebformVariantApplyForm::getConfirmText()

Returns a caption for the button that confirms the action.

Return value

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

Overrides WebformDeleteFormBase::getConfirmText

File

src/Form/WebformVariantApplyForm.php, line 186

Class

WebformVariantApplyForm
Form for apply a webform variant.

Namespace

Drupal\webform\Form

Code

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