function MigrateMessageController::overview
Same name in this branch
- 10 core/modules/migrate/src/Controller/MigrateMessageController.php \Drupal\migrate\Controller\MigrateMessageController::overview()
Same name in other branches
- 11.x core/modules/migrate/src/Controller/MigrateMessageController.php \Drupal\migrate\Controller\MigrateMessageController::overview()
- 11.x core/modules/migrate_drupal_ui/src/Controller/MigrateMessageController.php \Drupal\migrate_drupal_ui\Controller\MigrateMessageController::overview()
Displays an overview of migrate messages.
Return value
array A render array as expected by \Drupal\Core\Render\RendererInterface::render().
Overrides MigrateMessageController::overview
File
-
core/
modules/ migrate_drupal_ui/ src/ Controller/ MigrateMessageController.php, line 21
Class
- MigrateMessageController
- Provides controller methods for the Message form.
Namespace
Drupal\migrate_drupal_ui\ControllerCode
public function overview() : array {
$build = parent::overview();
$description['help'] = [
'#type' => 'item',
'#markup' => $this->t('The upgrade process may log messages about steps that require user action or errors. This page allows you to view these messages'),
];
$description['info'] = [
'#type' => 'item',
'#markup' => Link::fromTextAndUrl($this->t('Review the detailed upgrade log.'), Url::fromRoute('migrate_drupal_ui.log'))
->toString(),
];
return $description + $build;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.