You are here

public function AbjsExperienceDeleteConfirmForm::getCancelText 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::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/AbjsExperienceDeleteConfirmForm.php, line 90

Class

AbjsExperienceDeleteConfirmForm
Class for confirm delete experience.

Namespace

Drupal\abjs\Form

Code

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