protected function MigrateForm::buildFormForComplete in Workbench Moderation to Content Moderation 8
Build the form for when the migration is complete.
Parameters
array $form: An associative array containing the structure of the form.
\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.
Return value
array The form structure.
1 call to MigrateForm::buildFormForComplete()
- MigrateForm::buildForm in src/
Form/ MigrateForm.php - Form constructor.
File
- src/
Form/ MigrateForm.php, line 69
Class
- MigrateForm
- A form to trigger batch processing if state is valid.
Namespace
Drupal\wbm2cm\FormCode
protected function buildFormForComplete(array $form, FormStateInterface $form_state) {
$form['info'] = [
'#type' => 'html_tag',
'#tag' => 'div',
// @todo link the the uninstall page
'#value' => 'The migration is complete! You may now uninstall this module.',
];
return $form;
}