public function ConfirmFormArrayPathTestForm::getCancelText in Drupal 10
Same name and namespace in other branches
- 8 core/modules/system/tests/modules/form_test/src/ConfirmFormArrayPathTestForm.php \Drupal\form_test\ConfirmFormArrayPathTestForm::getCancelText()
- 9 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
\Drupal\Core\StringTranslation\TranslatableMarkup The form cancellation text.
Overrides ConfirmFormTestForm::getCancelText
File
- core/
modules/ system/ tests/ modules/ form_test/ src/ ConfirmFormArrayPathTestForm.php, line 35
Class
- ConfirmFormArrayPathTestForm
- Provides a test confirmation form with a complex cancellation destination.
Namespace
Drupal\form_testCode
public function getCancelText() {
return $this
->t('ConfirmFormArrayPathTestForm::getCancelText().');
}