states.enable.config.php 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  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. 'enable' => 'Enable ',
  10. ],
  11. 'navUpdater' => [
  12. [
  13. 'id' => 'root.readiness-check-enable',
  14. 'url' => 'readiness-check-enable',
  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' => 'enable'
  21. ],
  22. [
  23. 'id' => 'root.readiness-check-enable.progress',
  24. 'url' => 'readiness-check-enable/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' => 'enable'
  32. ],
  33. [
  34. 'id' => 'root.create-backup-enable',
  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' => 'enable'
  44. ],
  45. [
  46. 'id' => 'root.create-backup-enable.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' => 'enable'
  55. ],
  56. [
  57. 'id' => 'root.start-updater-enable',
  58. 'url' => 'enable',
  59. 'templateUrl' => "$base/start-updater",
  60. 'title' => "Enable Module",
  61. 'controller' => 'startUpdaterController',
  62. 'header' => 'Step 3: Enable Module',
  63. 'nav' => true,
  64. 'order' => 6,
  65. 'type' => 'enable'
  66. ],
  67. [
  68. 'id' => 'root.enable-success',
  69. 'url' => 'enable-success',
  70. 'templateUrl' => "$base/updater-success",
  71. 'controller' => 'updaterSuccessController',
  72. 'order' => 7,
  73. 'main' => true,
  74. 'noMenu' => true
  75. ],
  76. ],
  77. ];