states.uninstall.config.php 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. $base = basename($_SERVER['SCRIPT_FILENAME']);
  7. return [
  8. 'navUpdaterTitles' => [
  9. 'uninstall' => 'Uninstall ',
  10. ],
  11. 'navUpdater' => [
  12. [
  13. 'id' => 'root.readiness-check-uninstall',
  14. 'url' => 'readiness-check-uninstall',
  15. 'templateUrl' => "{$base}/readiness-check-updater",
  16. 'title' => "Readiness \n Check",
  17. 'header' => 'Step 1: Readiness Check',
  18. 'nav' => true,
  19. 'order' => 2,
  20. 'type' => 'uninstall'
  21. ],
  22. [
  23. 'id' => 'root.readiness-check-uninstall.progress',
  24. 'url' => 'readiness-check-uninstall/progress',
  25. 'templateUrl' => "$base/readiness-check-updater/progress",
  26. 'title' => 'Readiness Check',
  27. 'header' => 'Step 1: Readiness Check',
  28. 'controller' => 'readinessCheckController',
  29. 'nav' => false,
  30. 'order' => 3,
  31. 'type' => 'uninstall'
  32. ],
  33. [
  34. 'id' => 'root.create-backup-uninstall',
  35. 'url' => 'create-backup',
  36. 'templateUrl' => "$base/create-backup",
  37. 'title' => "Create \n Backup",
  38. 'header' => 'Step 2: Create Backup',
  39. 'controller' => 'createBackupController',
  40. 'nav' => true,
  41. 'validate' => true,
  42. 'order' => 4,
  43. 'type' => 'uninstall'
  44. ],
  45. [
  46. 'id' => 'root.create-backup-uninstall.progress',
  47. 'url' => 'create-backup/progress',
  48. 'templateUrl' => "$base/complete-backup/progress",
  49. 'title' => "Create \n Backup",
  50. 'header' => 'Step 2: Create Backup',
  51. 'controller' => 'completeBackupController',
  52. 'nav' => false,
  53. 'order' => 5,
  54. 'type' => 'uninstall'
  55. ],
  56. [
  57. 'id' => 'root.data-option',
  58. 'url' => 'data-option',
  59. 'templateUrl' => "$base/data-option",
  60. 'title' => "Remove or \n Keep Data",
  61. 'controller' => 'dataOptionController',
  62. 'header' => 'Step 3: Remove or Keep Data',
  63. 'nav' => true,
  64. 'order' => 6,
  65. 'type' => 'uninstall'
  66. ],
  67. [
  68. 'id' => 'root.start-updater-uninstall',
  69. 'url' => 'uninstall',
  70. 'templateUrl' => "$base/start-updater",
  71. 'title' => "Uninstall",
  72. 'controller' => 'startUpdaterController',
  73. 'header' => 'Step 4: Uninstall',
  74. 'nav' => true,
  75. 'order' => 7,
  76. 'type' => 'uninstall'
  77. ],
  78. [
  79. 'id' => 'root.uninstall-success',
  80. 'url' => 'uninstall-success',
  81. 'templateUrl' => "$base/updater-success",
  82. 'controller' => 'updaterSuccessController',
  83. 'order' => 8,
  84. 'main' => true,
  85. 'noMenu' => true
  86. ],
  87. ],
  88. ];