You are here

public function ConfirmFormTestForm::getConfirmText in Zircon Profile 8

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

Returns a caption for the button that confirms the action.

Return value

string The form confirmation text.

Overrides ConfirmFormBase::getConfirmText

File

core/modules/system/tests/modules/form_test/src/ConfirmFormTestForm.php, line 50
Contains \Drupal\form_test\ConfirmFormTestForm.

Class

ConfirmFormTestForm
Provides a test confirmation form.

Namespace

Drupal\form_test

Code

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