You are here

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

Class

ConfigImportConfirmForm
Defines a confirmation form for importing configuration.

Namespace

Drupal\config_update_ui\Form

Code

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