public function WebformVariantApplyForm::getConfirmText in Webform 8.5
Same name and namespace in other branches
- 6.x 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\FormCode
public function getConfirmText() {
return $this
->t('Apply');
}