You are here

public function AbjsExperienceDeleteConfirmForm::getConfirmText in A/B Test JS 8

Same name and namespace in other branches
  1. 2.0.x src/Form/AbjsExperienceDeleteConfirmForm.php \Drupal\abjs\Form\AbjsExperienceDeleteConfirmForm::getConfirmText()

Returns a caption for the button that confirms the action.

Return value

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

Overrides ConfirmFormBase::getConfirmText

File

src/Form/AbjsExperienceDeleteConfirmForm.php, line 83

Class

AbjsExperienceDeleteConfirmForm
Class for confirm delete experience.

Namespace

Drupal\abjs\Form

Code

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