You are here

public function AbjsConditionDeleteConfirmForm::getConfirmText in A/B Test JS 2.0.x

Same name and namespace in other branches
  1. 8 src/Form/AbjsConditionDeleteConfirmForm.php \Drupal\abjs\Form\AbjsConditionDeleteConfirmForm::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/AbjsConditionDeleteConfirmForm.php, line 76

Class

AbjsConditionDeleteConfirmForm
Class for confirm delete condition.

Namespace

Drupal\abjs\Form

Code

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