You are here

public function AbjsTestDeleteConfirmForm::getCancelText in A/B Test JS 2.0.x

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

Class

AbjsTestDeleteConfirmForm
Class for confirm delete test.

Namespace

Drupal\abjs\Form

Code

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