You are here

public function MigrateUpgradeForm::getConfirmText in Migrate Upgrade 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

src/Form/MigrateUpgradeForm.php, line 1223
Contains \Drupal\migrate_upgrade\Form\MigrateUpgradeForm.

Class

MigrateUpgradeForm
Defines a multi-step form for performing direct site upgrades.

Namespace

Drupal\migrate_upgrade\Form

Code

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