// @todo Add back support for rollbacks and incremental migrations.
// https://www.drupal.org/node/2687843
// https://www.drupal.org/node/2687849
$form['upgrade_option_item']=[
'#type'=>'item',
'#prefix'=>$this->t('<p>An upgrade has already been performed on this site.</p>'),
'#prefix'=>$this->t('An upgrade has already been performed on this site. To perform a new migration, create a clean and empty new install of Drupal 8. Rollbacks and incremental migrations are not yet supported through the user interface. For more information, see the <a href=":url">upgrading handbook</a>.',[':url'=>'https://www.drupal.org/upgrade/migrate']),
static::MIGRATE_UPGRADE_INCREMENTAL=>$this->t('<strong>Rerun</strong>: Import additional configuration and content that was not available when running the upgrade previously.'),
static::MIGRATE_UPGRADE_ROLLBACK=>$this->t('<strong>Rollback</strong>: Remove content and configuration entities (such as fields and node types). Default values of other configuration will not be reverted (such as site name).'),
],
);
$validate=['::validateCredentialForm'];
return$form;
}
else{
$form['info_header']=[
@@ -769,19 +753,7 @@ public function buildOverviewForm(array $form, FormStateInterface $form_state) {