@@ -85,6 +85,29 @@ class MigrateSandboxForm extends ConfigFormBase {
'callback'=>'::updatePopulateFromMigration',
'wrapper'=>'js-migrate-sandbox-wrapper',
],
'#attributes'=>[
'class'=>[
'button',
'button--primary',
],
],
],
'populate_next'=>[
'#type'=>'button',
'#value'=>$this->t('Fetch next row'),
'#ajax'=>[
'callback'=>'::updatePopulateFromMigration',
'wrapper'=>'js-migrate-sandbox-wrapper',
],
'#attributes'=>[
'title'=>$this->t('If populating took a long time, so will fetching the next row. This feature offers convenience but does not improve computational efficiency.'),
],
'#states'=>[
'visible'=>[
'input[name="populate_source_ids"]'=>['value'=>'something to make this invisible'],
'input[name="populate_migration"]'=>['value'=>'something to make this invisible'],
],
],
],
];
$form['intro']=[
@@ -523,6 +546,9 @@ class MigrateSandboxForm extends ConfigFormBase {