You are here

public function ConfigRevertConfirmForm::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/ConfigRevertConfirmForm.php, line 121

Class

ConfigRevertConfirmForm
Defines a confirmation form for reverting configuration.

Namespace

Drupal\config_update_ui\Form

Code

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