You are here

public function ConfigDeleteForm::getConfirmText in Devel 4.x

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 104

Class

ConfigDeleteForm
Edit config variable form.

Namespace

Drupal\devel\Form

Code

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