public function MigrateController::showLog in Migrate Upgrade 8
Sets a log filter and redirects to the log.
Return value
\Symfony\Component\HttpFoundation\RedirectResponse A redirect response object that may be returned by the controller.
1 string reference to 'MigrateController::showLog'
File
- src/
Controller/ MigrateController.php, line 23 - Contains \Drupal\migrate_upgrade\Controller\MigrateController.
Class
- MigrateController
- Provides controller methods for the migration.
Namespace
Drupal\migrate_upgrade\ControllerCode
public function showLog() {
$_SESSION['dblog_overview_filter'] = [];
$_SESSION['dblog_overview_filter']['type'] = [
'migrate_upgrade' => 'migrate_upgrade',
];
return $this
->redirect('dblog.overview');
}