states.extensionManager.config.php 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  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. 'install' => 'New Purchases',
  10. ],
  11. 'navUpdater' => [
  12. [
  13. 'id' => 'root.readiness-check-install',
  14. 'url' => 'readiness-check-updater',
  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' => 'install',
  21. 'wrapper' => 1
  22. ],
  23. [
  24. 'id' => 'root.readiness-check-install.progress',
  25. 'url' => 'readiness-check-updater/progress',
  26. 'templateUrl' => "$base/readiness-check-updater/progress",
  27. 'title' => 'Readiness Check',
  28. 'header' => 'Step 1: Readiness Check',
  29. 'controller' => 'readinessCheckController',
  30. 'nav' => false,
  31. 'order' => 3,
  32. 'type' => 'install',
  33. 'wrapper' => 1
  34. ],
  35. [
  36. 'id' => 'root.create-backup-install',
  37. 'url' => 'create-backup',
  38. 'templateUrl' => "$base/create-backup",
  39. 'title' => "Create \n Backup",
  40. 'header' => 'Step 2: Create Backup',
  41. 'controller' => 'createBackupController',
  42. 'nav' => true,
  43. 'validate' => true,
  44. 'order' => 4,
  45. 'type' => 'install',
  46. 'wrapper' => 1
  47. ],
  48. [
  49. 'id' => 'root.create-backup-install.progress',
  50. 'url' => 'create-backup/progress',
  51. 'templateUrl' => "$base/complete-backup/progress",
  52. 'title' => "Create \n Backup",
  53. 'header' => 'Step 2: Create Backup',
  54. 'controller' => 'completeBackupController',
  55. 'nav' => false,
  56. 'order' => 5,
  57. 'type' => 'install',
  58. 'wrapper' => 1
  59. ],
  60. [
  61. 'id' => 'root.start-updater-install',
  62. 'url' => 'start-updater',
  63. 'templateUrl' => "$base/start-updater",
  64. 'controller' => 'startUpdaterController',
  65. 'title' => "Component \n Install",
  66. 'header' => 'Step 3: Install',
  67. 'nav' => true,
  68. 'order' => 6,
  69. 'type' => 'install',
  70. 'wrapper' => 1
  71. ],
  72. ],
  73. ];