You are here

public function AbjsConditionDeleteConfirmForm::getCancelText 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::getCancelText()

Returns a caption for the link which cancels the action.

Return value

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

Overrides ConfirmFormBase::getCancelText

File

src/Form/AbjsConditionDeleteConfirmForm.php, line 83

Class

AbjsConditionDeleteConfirmForm
Class for confirm delete condition.

Namespace

Drupal\abjs\Form

Code

public function getCancelText() {
  return $this
    ->t('Cancel');
}