Commit | Line | Data |
---|---|---|
df014828 CW |
1 | <?php |
2 | return [ | |
3 | [ | |
4 | 'name' => 'Navigation_Grants', | |
5 | 'entity' => 'Navigation', | |
6 | 'cleanup' => 'unused', | |
7 | 'update' => 'unmodified', | |
8 | 'params' => [ | |
9 | 'version' => 4, | |
10 | 'values' => [ | |
11 | 'label' => 'Grants', | |
12 | 'name' => 'Grants', | |
13 | 'url' => NULL, | |
14 | 'icon' => 'crm-i fa-money', | |
15 | 'permission' => 'access CiviGrant', | |
16 | 'permission_operator' => '', | |
17 | 'is_active' => TRUE, | |
18 | 'weight' => 90, | |
19 | 'parent_id' => NULL, | |
20 | 'has_separator' => NULL, | |
21 | 'domain_id' => 'current_domain', | |
22 | ], | |
23 | ], | |
24 | ], | |
25 | [ | |
26 | 'name' => 'Navigation_Grants_Navigation_Dashboard', | |
27 | 'entity' => 'Navigation', | |
28 | 'cleanup' => 'unused', | |
29 | 'update' => 'unmodified', | |
30 | 'params' => [ | |
31 | 'version' => 4, | |
32 | 'values' => [ | |
33 | 'label' => 'Dashboard', | |
34 | 'name' => 'Dashboard', | |
35 | 'url' => 'civicrm/grant?reset=1', | |
36 | 'icon' => NULL, | |
37 | 'permission' => 'access CiviGrant', | |
38 | 'permission_operator' => '', | |
39 | 'parent_id.name' => 'Grants', | |
40 | 'is_active' => TRUE, | |
41 | 'has_separator' => NULL, | |
42 | 'domain_id' => 'current_domain', | |
43 | ], | |
44 | ], | |
45 | ], | |
46 | [ | |
47 | 'name' => 'Navigation_Grants_Navigation_New_Grant', | |
48 | 'entity' => 'Navigation', | |
49 | 'cleanup' => 'unused', | |
50 | 'update' => 'unmodified', | |
51 | 'params' => [ | |
52 | 'version' => 4, | |
53 | 'values' => [ | |
54 | 'label' => 'New Grant', | |
55 | 'name' => 'New Grant', | |
56 | 'url' => 'civicrm/grant/add?reset=1&action=add&context=standalone', | |
57 | 'icon' => NULL, | |
58 | 'permission' => 'access CiviGrant,edit grants', | |
59 | 'permission_operator' => 'AND', | |
60 | 'parent_id.name' => 'Grants', | |
61 | 'is_active' => TRUE, | |
62 | 'has_separator' => NULL, | |
63 | 'domain_id' => 'current_domain', | |
64 | ], | |
65 | ], | |
66 | ], | |
67 | [ | |
68 | 'name' => 'Navigation_Grants_Navigation_Find_Grants', | |
69 | 'entity' => 'Navigation', | |
70 | 'cleanup' => 'unused', | |
71 | 'update' => 'unmodified', | |
72 | 'params' => [ | |
73 | 'version' => 4, | |
74 | 'values' => [ | |
75 | 'label' => 'Find Grants', | |
76 | 'name' => 'Find Grants', | |
77 | 'url' => 'civicrm/grant/search?reset=1', | |
78 | 'icon' => NULL, | |
79 | 'permission' => 'access CiviGrant', | |
80 | 'permission_operator' => '', | |
81 | 'parent_id.name' => 'Grants', | |
82 | 'is_active' => TRUE, | |
83 | 'has_separator' => '1', | |
84 | 'domain_id' => 'current_domain', | |
85 | ], | |
86 | ], | |
87 | ], | |
88 | [ | |
89 | 'name' => 'Navigation_CiviGrant', | |
90 | 'entity' => 'Navigation', | |
91 | 'cleanup' => 'unused', | |
92 | 'update' => 'unmodified', | |
93 | 'params' => [ | |
94 | 'version' => 4, | |
95 | 'values' => [ | |
96 | 'label' => 'CiviGrant', | |
97 | 'name' => 'CiviGrant', | |
98 | 'url' => NULL, | |
99 | 'icon' => NULL, | |
100 | 'permission' => 'access CiviGrant,administer CiviCRM', | |
101 | 'permission_operator' => 'AND', | |
102 | 'parent_id.name' => 'Administer', | |
103 | 'is_active' => TRUE, | |
104 | 'weight' => 13, | |
105 | 'has_separator' => NULL, | |
106 | 'domain_id' => 'current_domain', | |
107 | ], | |
108 | ], | |
109 | ], | |
110 | [ | |
111 | 'name' => 'Navigation_CiviGrant_Navigation_Grant_Types', | |
112 | 'entity' => 'Navigation', | |
113 | 'cleanup' => 'unused', | |
114 | 'update' => 'unmodified', | |
115 | 'params' => [ | |
116 | 'version' => 4, | |
117 | 'values' => [ | |
118 | 'label' => 'Grant Types', | |
119 | 'name' => 'Grant Types', | |
120 | 'url' => 'civicrm/admin/options/grant_type?reset=1', | |
121 | 'icon' => NULL, | |
122 | 'permission' => 'access CiviGrant,administer CiviCRM', | |
123 | 'permission_operator' => 'AND', | |
124 | 'parent_id.name' => 'CiviGrant', | |
125 | 'is_active' => TRUE, | |
126 | 'weight' => 1, | |
127 | 'has_separator' => NULL, | |
128 | 'domain_id' => 'current_domain', | |
129 | ], | |
130 | ], | |
131 | ], | |
132 | [ | |
133 | 'name' => 'Navigation_CiviGrant_Navigation_Grant_Status', | |
134 | 'entity' => 'Navigation', | |
135 | 'cleanup' => 'unused', | |
136 | 'update' => 'unmodified', | |
137 | 'params' => [ | |
138 | 'version' => 4, | |
139 | 'values' => [ | |
140 | 'label' => 'Grant Status', | |
141 | 'name' => 'Grant Status', | |
142 | 'url' => 'civicrm/admin/options/grant_status?reset=1', | |
143 | 'icon' => NULL, | |
144 | 'permission' => 'access CiviGrant,administer CiviCRM', | |
145 | 'permission_operator' => 'AND', | |
146 | 'parent_id.name' => 'CiviGrant', | |
147 | 'is_active' => TRUE, | |
148 | 'weight' => 2, | |
149 | 'has_separator' => NULL, | |
150 | 'domain_id' => 'current_domain', | |
151 | ], | |
152 | ], | |
153 | ], | |
df014828 | 154 | ]; |