function ConfigDeleteForm::getConfirmText

Same name and namespace in other branches
  1. 4.x src/Form/ConfigDeleteForm.php \Drupal\devel\Form\ConfigDeleteForm::getConfirmText()

Returns a caption for the button that confirms the action.

Return value

\Drupal\Core\StringTranslation\TranslatableMarkup The form confirmation text.

Overrides ConfirmFormInterface::getConfirmText

1 call to ConfigDeleteForm::getConfirmText()
ConfigDeleteForm::buildForm in src/Form/ConfigDeleteForm.php
Form constructor.

File

src/Form/ConfigDeleteForm.php, line 129

Class

ConfigDeleteForm
Edit config variable form.

Namespace

Drupal\devel\Form

Code

public function getConfirmText() {
    return $this->t('Confirm');
}