function ConfirmFormTestForm::getCancelText

Same name in other branches
  1. 9 core/modules/system/tests/modules/form_test/src/ConfirmFormTestForm.php \Drupal\form_test\ConfirmFormTestForm::getCancelText()
  2. 8.9.x core/modules/system/tests/modules/form_test/src/ConfirmFormTestForm.php \Drupal\form_test\ConfirmFormTestForm::getCancelText()
  3. 10 core/modules/system/tests/modules/form_test/src/ConfirmFormTestForm.php \Drupal\form_test\ConfirmFormTestForm::getCancelText()

Overrides ConfirmFormBase::getCancelText

1 method overrides ConfirmFormTestForm::getCancelText()
ConfirmFormArrayPathTestForm::getCancelText in core/modules/system/tests/modules/form_test/src/ConfirmFormArrayPathTestForm.php
Returns a caption for the link which cancels the action.

File

core/modules/system/tests/modules/form_test/src/ConfirmFormTestForm.php, line 56

Class

ConfirmFormTestForm
Provides a test confirmation form.

Namespace

Drupal\form_test

Code

public function getCancelText() {
    return $this->t('ConfirmFormTestForm::getCancelText().');
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.