protected function ConfigTestDeleteForm::getConfirmText

Returns a caption for the button that confirms the action.

Return value

string The form confirmation text.

Overrides ConfirmFormBase::getConfirmText

File

drupal/core/modules/config/tests/config_test/lib/Drupal/config_test/Form/ConfigTestDeleteForm.php, line 35
Contains \Drupal\config_test\Form\ConfigTestDeleteForm.

Class

ConfigTestDeleteForm
Delete confirmation form for config_test entities.

Namespace

Drupal\config_test\Form

Code

protected function getConfirmText() {
  return t('Delete');
}