You are here

public function ConfirmFormArrayPathTestForm::getCancelText in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/system/tests/modules/form_test/src/ConfirmFormArrayPathTestForm.php \Drupal\form_test\ConfirmFormArrayPathTestForm::getCancelText()

Returns a caption for the link which cancels the action.

Return value

string The form cancellation text.

Overrides ConfirmFormTestForm::getCancelText

File

core/modules/system/tests/modules/form_test/src/ConfirmFormArrayPathTestForm.php, line 38
Contains \Drupal\form_test\ConfirmFormArrayPathTestForm.

Class

ConfirmFormArrayPathTestForm
Provides a test confirmation form with a complex cancellation destination.

Namespace

Drupal\form_test

Code

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