You are here

public function ConfigDeleteConfirmForm::getConfirmText in Configuration Update Manager 8

Returns a caption for the button that confirms the action.

Return value

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

Overrides ConfirmFormBase::getConfirmText

File

config_update_ui/src/Form/ConfigDeleteConfirmForm.php, line 119

Class

ConfigDeleteConfirmForm
Defines a confirmation form for deleting configuration.

Namespace

Drupal\config_update_ui\Form

Code

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