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