forked from backdrop-contrib/backdrop_upgrade_status
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbackdrop_upgrade_status.core.inc
570 lines (489 loc) · 26.3 KB
/
backdrop_upgrade_status.core.inc
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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
<?php
/**
* @file
* All Drupal 7 modules that are now part of Backdrop core.
*/
/**
* Modules in core in Backdrop CMS.
*
* The following was copied from backdrop_upgrade_status_moved_into_core().
*
* @param $projects
* Array of projects from backdrop_upgrade_status_calculate_project_data(). This
* parameter is passed by reference, and metadata for the project can added
* to the $projects[$project] array for use later. Several additional keys are
* supported:
* - in_core_since: The major version where the project was added into core.
* - in_core_note: Note to display to the user. This should be succinct and
* describe:
* - If the project was "Moved", "Integrated", or "Replaced by" another.
* - What core system, module, or API replaces the project.
* - What minor version the project was added into.
* - in_core_complete: Boolean flag indicating whether the complete
* functionality of the project is in core. Set this to FALSE when the core
* replacement does not include the full functionality of the project.
* - in_core_warning:
* - If the 'in_core_complete' flag is false, what functionality of the
* project is not included in core.
* - Other things developers will need to know about updating this project.
*
* @param $project
* Project name to check.
*
* @return
* TRUE if project has been moved into core.
*
* @see backdrop_upgrade_status_moved_into_core()
*/
function _backdrop_upgrade_status_backdrop_core(&$projects, $project) {
// Specifying a case for the module in this switch statement will mark it as
// included in core on the status report.
$core = TRUE;
switch ($project) {
case 'admin_menu':
$projects[$project]['in_core_since'] = '1.x';
$projects[$project]['in_core_note'] = t('Replaced by the core Admin Bar module.');
$projects[$project]['in_core_complete'] = TRUE;
$projects[$project]['in_core_upgrade_status'] = t('Leave enabled.');
break;
case 'admin_views':
$projects[$project]['in_core_since'] = '1.x';
$projects[$project]['in_core_note'] = t('Replaced by core views in 1.0.');
$projects[$project]['in_core_warning'] = t('The Comments listing is not yet a view.');
$projects[$project]['in_core_upgrade_status'] = t('Disable and uninstall.');
break;
case 'automenu':
case 'auto_menu_settings':
$projects[$project]['in_core_since'] = '1.x';
$projects[$project]['in_core_note'] = t('Integrated into core Node module in v 1.15. Per content-type defaults not included.');
break;
case 'bean':
$projects[$project]['in_core_since'] = '1.x';
$projects[$project]['in_core_note'] = t('Replaced by page-less nodes placed as blocks in v1.11.');
break;
case 'block_class':
$projects[$project]['in_core_since'] = '1.x';
$projects[$project]['in_core_note'] = t('Integrated into core Block module in v1.0.');
$projects[$project]['in_core_complete'] = TRUE;
break;
case 'blockify':
$projects[$project]['in_core_since'] = '1.x';
$projects[$project]['in_core_note'] = t('Replaced by core blocks in v1.7.');
$projects[$project]['in_core_complete'] = TRUE;
break;
case 'boolean_formatter':
$projects[$project]['in_core_since'] = '1.x';
$projects[$project]['in_core_note'] = t('Integrated into core List module in v1.15.');
$projects[$project]['in_core_complete'] = TRUE;
break;
case 'boxes':
$projects[$project]['in_core_since'] = '1.x';
$projects[$project]['in_core_note'] = t('Replaced by core Configuration Management system in v1.0.');
$projects[$project]['in_core_complete'] = TRUE;
$projects[$project]['in_core_upgrade_status'] = t('Disable and uninstall.');
$projects[$project]['in_core_upgrade'] = t('Before upgrade: Boxes will need to be converted back into Blocks.');
break;
case 'bt_cbc':
$projects[$project]['in_core_since'] = '1.x';
$projects[$project]['in_core_note'] = t('Partially replaced by core blocks: added Hero block in v1.5, and Contact block in v1.12.');
break;
case 'caption_filter':
$projects[$project]['in_core_since'] = '1.x';
$projects[$project]['in_core_note'] = t('Integrated into the core CKEditor module in v1.2.');
$projects[$project]['in_core_complete'] = TRUE;
break;
case 'ckeditor':
$projects[$project]['in_core_since'] = '1.x';
$projects[$project]['in_core_note'] = t('Replaced by core CKEditory module in v1.2.');
$projects[$project]['in_core_warning'] = t('Reconfiguration will be necessary.');
break;
case 'ckeditor_link':
$projects[$project]['in_core_since'] = '1.x';
$projects[$project]['in_core_note'] = t('Integrated into core CKEditor module in v1.7.');
break;
case 'ckeditor_media':
$projects[$project]['in_core_since'] = '1.x';
$projects[$project]['in_core_note'] = t('Partially integrated into the core CKEditor module in 1.11.');
// @todo
break;
case 'ckeditor_upload':
$projects[$project]['in_core_since'] = '1.x';
$projects[$project]['in_core_note'] = t('Integrated into CKEditor module in for images in v1.2, and for files v1.10.');
break;
case 'comment_closer':
$projects[$project]['in_core_since'] = '1.x';
$projects[$project]['in_core_note'] = t('Integrated into Comment module in v1.10.');
$projects[$project]['in_core_complete'] = TRUE;
break;
case 'contact_block':
$projects[$project]['in_core_since'] = '1.x';
$projects[$project]['in_core_note'] = t('Integrated into Contact module in v1.12.');
$projects[$project]['in_core_complete'] = TRUE;
break;
case 'context':
$projects[$project]['in_core_since'] = '1.x';
$projects[$project]['in_core_note'] = t('Partially replaced by the context-aware Layout module in v1.0.');
$projects[$project]['in_core_warning'] = t('A User Interface for defining custom contexts is not yet available.');
$projects[$project]['in_core_upgrade_status'] = t('Disable and uninstall.');
$projects[$project]['in_core_upgrade'] = t('After upgrade: Contexts will need to be re-created as Layouts.');
break;
case 'ctools':
$projects[$project]['in_core_since'] = '1.x';
$projects[$project]['in_core_note'] = t('Partially replaced by core APIs including: modal dialogs, dropbuttons, cofiguration exportables, and page handlers (from <a href="@url">Page Manager</a>).', array(
'@url' => 'https://www.drupal.org/project/page_manager',
));
$projects[$project]['in_core_warning'] = t('Plugins (replaced by info hooks) and Form Wizard are not supported.');
$projects[$project]['in_core_upgrade_status'] = t('Leave enabled.');
break;
case 'date':
$projects[$project]['in_core_since'] = '1.x';
$projects[$project]['in_core_note'] = t('Partially moved into core in v1.2.');
$projects[$project]['in_core_warning'] = t('<a href="@repeat">Date Repeat</a> remains in contrib.', array(
'@repeat' => 'https://github.com/backdrop-contrib/date_repeat',
));
$projects[$project]['in_core_upgrade_status'] = t('Leave enabled.');
break;
case 'date_popup_authored':
$projects[$project]['in_core_since'] = '1.x';
$projects[$project]['in_core_note'] = t('Integrated into Date module in v1.2.');
$projects[$project]['in_core_complete'] = TRUE;
$projects[$project]['in_core_upgrade_status'] = t('Leave enabled.');
break;
case 'defaultconfig':
$projects[$project]['in_core_since'] = '1.x';
$projects[$project]['in_core_note'] = t('Replaced by core Configuration Management system in v1.0.');
$projects[$project]['in_core_complete'] = TRUE;
$projects[$project]['in_core_upgrade_status'] = t('Disable and uninstall.');
break;
case 'diff':
$projects[$project]['in_core_since'] = '1.x';
$projects[$project]['in_core_note'] = t('Parially Integrated into Configuration Management system in v1.0.');
$projects[$project]['in_core_warning'] = t('Integration with the node revision system <a href="@diff">remains in contrib</a>. Only the diff engine was included.', array(
'@diff' => url('https://github.com/backdrop-contrib/diff'),
));
$projects[$project]['in_core_upgrade_status'] = t('Leave enabled.');
break;
case 'direct_upload':
$projects[$project]['in_core_since'] = '1.x';
$projects[$project]['in_core_note'] = t('Replaced by Rich-Text image/file upload options added in v1.7.');
$projects[$project]['in_core_complete'] = TRUE;
$projects[$project]['in_core_upgrade_status'] = t('Disable and uninstall.');
break;
case 'ds':
$projects[$project]['in_core_since'] = '1.x';
$projects[$project]['in_core_note'] = t('Partially replaced by Layout module in v1.0.');
$projects[$project]['in_core_warning'] = t('Layouts for view modes are not yet supported.');
$projects[$project]['in_core_upgrade_status'] = t('Disable and uninstall.');
$projects[$project]['in_core_upgrade'] = t('After upgrade: New Layouts will need to be configured.');
break;
case 'elements':
$projects[$project]['in_core_since'] = '1.x';
$projects[$project]['in_core_note'] = t('Integrated into core System module in v1.0.');
$projects[$project]['in_core_complete'] = TRUE;
$projects[$project]['in_core_upgrade_status'] = t('Disable and uninstall.');
break;
case 'email':
$projects[$project]['in_core_since'] = '1.x';
$projects[$project]['in_core_note'] = t('Moved into core in v1.2. E-mail address contact forms are not supported by core.');
$projects[$project]['in_core_complete'] = TRUE;
$projects[$project]['in_core_upgrade_status'] = t('Leave enabled.');
break;
case 'email_registration':
$projects[$project]['in_core_since'] = '1.x';
$projects[$project]['in_core_note'] = t('Integrated into core User module in v1.0.');
$projects[$project]['in_core_complete'] = TRUE;
$projects[$project]['in_core_upgrade_status'] = t('Disable and uninstall.');
break;
case 'entity':
$projects[$project]['in_core_since'] = '1.x';
$projects[$project]['in_core_note'] = t('Integrated into core Entity module in v1.0.');
$projects[$project]['in_core_warning'] = t('The Entity Metadata Wrapper is not included but <a href="@entity_plus">is available in contrib</a>.', array(
'@diff' => url('https://github.com/backdrop-contrib/entity_plus'),
));
$projects[$project]['in_core_upgrade_status'] = t('Leave enabled.');
break;
case 'entity_view_mode':
$projects[$project]['in_core_since'] = '1.x';
$projects[$project]['in_core_note'] = t('Integrated into core Field UI module in v1.6.');
$projects[$project]['in_core_complete'] = TRUE;
$projects[$project]['in_core_upgrade_status'] = t('Leave enabled.');
break;
case 'extra_columns':
$projects[$project]['in_core_since'] = '1.x';
$projects[$project]['in_core_note'] = t('Partially replaced by default views in 1.0.');
$projects[$project]['in_core_warning'] = t('The Comments listing is not yet a view. See the <a href="@views">relevant core issue</a>.', array(
'@views' => 'https://github.com/backdrop/backdrop-issues/issues/151',
));
$projects[$project]['in_core_upgrade_status'] = t('Disable and uninstall.');
break;
case 'features':
$projects[$project]['in_core_since'] = '1.x';
$projects[$project]['in_core_note'] = t('Partially replaced by core Configuration Management system in v1.0.');
$projects[$project]['in_core_warning'] = t('Recipes (formerly named "Features") are not yet supported. See the <a href="@recipes">relevant core issue</a>.', array(
'@recipes' => 'https://github.com/backdrop/backdrop-issues/issues/3763',
));
$projects[$project]['in_core_upgrade_status'] = t('Disable and Uninstall');
$projects[$project]['in_core_upgrade'] = t('Before upgrade: Store all features back in the database.');
break;
case 'fieldable_panels_panes':
$projects[$project]['in_core_since'] = '1.x';
$projects[$project]['in_core_note'] = t('Replaced by page-less nodes placed as blocks in v1.11. This setting was provided by Rabbit Hole module in Drupal 7.');
$projects[$project]['in_core_complete'] = TRUE;
$projects[$project]['in_core_upgrade_status'] = t('Disable and uninstall.');
$projects[$project]['in_core_upgrade'] = t('Before upgrade: convert all Fieldable panes into nodes.');
break;
case 'fieldblock':
$projects[$project]['in_core_since'] = '1.x';
$projects[$project]['in_core_note'] = t('Integrated into Field module in v1.3.');
$projects[$project]['in_core_complete'] = TRUE;
$projects[$project]['in_core_upgrade_status'] = t('Disable and uninstall.');
break;
case 'field_formatter_settings':
$projects[$project]['in_core_since'] = '1.x';
$projects[$project]['in_core_note'] = t('Integrated into Field module in v1.3.');
$projects[$project]['in_core_complete'] = TRUE;
$projects[$project]['in_core_upgrade_status'] = t('Disable and uninstall.');
break;
case 'file_entity':
$projects[$project]['in_core_since'] = '1.x';
$projects[$project]['in_core_note'] = t('Integrated into File module in v1.0 and v1.6.');
$projects[$project]['in_core_complete'] = TRUE;
$projects[$project]['in_core_upgrade_status'] = t('Leave enabled.');
break;
case 'float_filter':
$projects[$project]['in_core_since'] = '1.x';
$projects[$project]['in_core_note'] = t('Integrated into the core CKEditor module in v1.2.');
$projects[$project]['in_core_complete'] = TRUE;
$projects[$project]['in_core_upgrade_status'] = t('Disable and uninstall.');
break;
case 'html5_tools':
$projects[$project]['in_core_since'] = '1.x';
$projects[$project]['in_core_note'] = t('Integrated into core System module in v1.0.');
$projects[$project]['in_core_complete'] = TRUE;
$projects[$project]['in_core_upgrade_status'] = t('Disable and uninstall.');
break;
case 'insert':
$projects[$project]['in_core_since'] = '1.x';
$projects[$project]['in_core_note'] = t('Integrated into the core CKEditor module in v1.2.');
$projects[$project]['in_core_complete'] = TRUE;
$projects[$project]['in_core_upgrade_status'] = t('Disable and uninstall.');
break;
case 'instantfilter':
$projects[$project]['in_core_since'] = '1.x';
$projects[$project]['in_core_note'] = t('Replaced by search box on the modules page in v1.0.');
$projects[$project]['in_core_complete'] = TRUE;
$projects[$project]['in_core_upgrade_status'] = t('Disable and uninstall.');
break;
case 'image_mobile_camera':
$projects[$project]['in_core_since'] = '1.x';
$projects[$project]['in_core_note'] = t('Integrated into the core File module in v1.4.');
$projects[$project]['in_core_complete'] = TRUE;
$projects[$project]['in_core_upgrade_status'] = t('Disable and uninstall.');
break;
case 'imce_wysiwyg':
$projects[$project]['in_core_since'] = '1.x';
$projects[$project]['in_core_note'] = t('Replaced by the core CKEditor module for images in v1.2, and for files in v1.10.');
$projects[$project]['in_core_complete'] = TRUE;
$projects[$project]['in_core_upgrade_status'] = t('Disable and uninstall.');
break;
case 'link':
$projects[$project]['in_core_since'] = '1.x';
$projects[$project]['in_core_note'] = t('Moved into core in v1.2.');
$projects[$project]['in_core_complete'] = TRUE;
$projects[$project]['in_core_upgrade_status'] = t('Leave enabled.');
break;
case 'linkit':
$projects[$project]['in_core_since'] = '1.x';
$projects[$project]['in_core_note'] = t('Partially in core.');
$projects[$project]['in_core_upgrade_status'] = t('Disable and uninstall.');
break;
case 'live_preview':
$projects[$project]['in_core_since'] = '1.x';
$projects[$project]['in_core_note'] = t('Replaced by new content preview in core Node module in v1.11.');
$projects[$project]['in_core_complete'] = TRUE;
break;
case 'media':
$projects[$project]['in_core_since'] = '1.x';
$projects[$project]['in_core_note'] = t('Partially replaced by core System module in v1.0, CKEditor module in v.1.2, and File module in v1.10.');
$projects[$project]['in_core_warning'] = t('Media entites are not included (File entites should be sufficient).');
$projects[$project]['in_core_upgrade_status'] = t('Disable and uninstall.');
break;
case 'menu_block':
$projects[$project]['in_core_since'] = '1.x';
$projects[$project]['in_core_note'] = t('Partially integrated into System module Menu blocks in v1.5.');
$projects[$project]['in_core_warning'] = t('Settings other than depth not supported yet.');
$projects[$project]['in_core_upgrade_status'] = t('Disable and uninstall.');
break;
case 'menu_translation':
$projects[$project]['in_core_since'] = '1.x';
$projects[$project]['in_core_complete'] = TRUE;
$projects[$project]['in_core_note'] = t('Integrated into core Menu module in v1.10.');
$projects[$project]['in_core_upgrade_status'] = t('Disable and uninstall.');
break;
case 'module_filter':
$projects[$project]['in_core_since'] = '1.x';
$projects[$project]['in_core_note'] = t('Partially integrated into System module in v1.0.');
$projects[$project]['in_core_warning'] = t('Vertical tabs on the modules page are not included.');
$projects[$project]['in_core_upgrade_status'] = t('Disable and uninstall.');
break;
case 'navbar':
$projects[$project]['in_core_since'] = '1.x';
$projects[$project]['in_core_note'] = t('Replaced by the core Admin Bar module in v1.0.');
$projects[$project]['in_core_complete'] = TRUE;
$projects[$project]['in_core_upgrade_status'] = t('Disable and uninstall.');
break;
case 'options_element':
$projects[$project]['in_core_since'] = '1.x';
$projects[$project]['in_core_note'] = t('Integrated into core Field module in v1.12.');
$projects[$project]['in_core_complete'] = TRUE;
$projects[$project]['in_core_upgrade_status'] = t('Disable and uninstall.');
break;
case 'page_preview':
$projects[$project]['in_core_since'] = '1.x';
$projects[$project]['in_core_note'] = t('Replaced by new content preview in core Node module in v1.11.');
$projects[$project]['in_core_complete'] = TRUE;
$projects[$project]['in_core_upgrade_status'] = t('Disable and uninstall.');
break;
case 'panels':
$projects[$project]['in_core_since'] = '1.x';
$projects[$project]['in_core_note'] = t('Partially replaced by Layout module in v1.0.');
$projects[$project]['in_core_warning'] = t('Layouts saved as content are not provided in core (Panel Nodes).');
$projects[$project]['in_core_upgrade_status'] = t('Disable and uninstall.');
$projects[$project]['in_core_upgrade'] = t('After upgrade: Layouts will need to be configured to replace Panels Pages.');
break;
case 'panels_everywhere':
$projects[$project]['in_core_since'] = '1.x';
$projects[$project]['in_core_note'] = t('Replaced by Layout module in v1.0. Panel nodes are not provided in core.');
$projects[$project]['in_core_complete'] = TRUE;
$projects[$project]['in_core_upgrade_status'] = t('Disable and uninstall.');
$projects[$project]['in_core_upgrade'] = t('After upgrade: Layouts will need to be configured to replace Panels Pages.');
break;
case 'pathauto':
$projects[$project]['in_core_since'] = '1.x';
$projects[$project]['in_core_note'] = t('Integrated into core Path module in v1.11.');
$projects[$project]['in_core_complete'] = TRUE;
$projects[$project]['in_core_upgrade_status'] = t('Leave enabled.');
break;
case 'placeholder':
$projects[$project]['in_core_since'] = '1.x';
$projects[$project]['in_core_note'] = t('Integrated into core System module in v1.0.');
$projects[$project]['in_core_complete'] = TRUE;
$projects[$project]['in_core_upgrade_status'] = t('Disable and uninstall.');
break;
case 'project_browser':
$projects[$project]['in_core_since'] = '1.x';
$projects[$project]['in_core_note'] = t('Replaced by core Installer module in v1.4.');
$projects[$project]['in_core_complete'] = TRUE;
$projects[$project]['in_core_upgrade_status'] = t('Disable and uninstall.');
break;
case 'rabbit_hole':
$projects[$project]['in_core_since'] = '1.x';
$projects[$project]['in_core_note'] = t('Integrated into core Node module (as page-less nodes) in v1.11.');
$projects[$project]['in_core_complete'] = TRUE;
$projects[$project]['in_core_upgrade_status'] = t('Leave enabled.');
break;
case 'redirect':
$projects[$project]['in_core_since'] = '1.x';
$projects[$project]['in_core_note'] = t('Moved into core in v1.4.');
$projects[$project]['in_core_complete'] = TRUE;
$projects[$project]['in_core_upgrade_status'] = t('Leave enabled.');
break;
case 'role_assign':
$projects[$project]['in_core_since'] = '1.x';
$projects[$project]['in_core_note'] = t('Integrated into User module in v1.6.');
$projects[$project]['in_core_complete'] = TRUE;
$projects[$project]['in_core_upgrade_status'] = t('Leave enabled.');
break;
case 'scheduler':
$projects[$project]['in_core_since'] = '1.x';
$projects[$project]['in_core_note'] = t('Integrated into core Node module in v1.10.');
$projects[$project]['in_core_warning'] = t('Scheduled un-publishing is still <a href="@scheduler">available in contrib</a>.', array(
'@scheduler' => 'https://github.com/backdrop-contrib/scheduler',
));
$projects[$project]['in_core_upgrade_status'] = t('Leave enabled.');
break;
case 'smartmenus':
$projects[$project]['in_core_since'] = '1.x';
$projects[$project]['in_core_note'] = t('Replaced by core System drop-down menus in v1.5 + v1.6.');
$projects[$project]['in_core_complete'] = TRUE;
$projects[$project]['in_core_upgrade_status'] = t('Disable and uninstall.');
break;
case 'strongarm':
$projects[$project]['in_core_since'] = '1.x';
$projects[$project]['in_core_note'] = t('Replaced by core Configuration Management system in v1.0.');
$projects[$project]['in_core_complete'] = TRUE;
$projects[$project]['in_core_upgrade_status'] = t('Disable and uninstall.');
break;
case 'superfish':
$projects[$project]['in_core_since'] = '1.x';
$projects[$project]['in_core_note'] = t('Replaced by core System drop-down menus in v1.5 + v1.6.');
$projects[$project]['in_core_complete'] = TRUE;
$projects[$project]['in_core_upgrade_status'] = t('Disable and uninstall.');
break;
case 'token':
$projects[$project]['in_core_since'] = '1.x';
$projects[$project]['in_core_note'] = t('Integrated into System module in v1.2.');
$projects[$project]['in_core_complete'] = TRUE;
$projects[$project]['in_core_upgrade_status'] = t('Leave enabled.');
break;
case 'transliteration':
$projects[$project]['in_core_since'] = '1.x';
$projects[$project]['in_core_note'] = t('Integrated into core APIs.');
$projects[$project]['in_core_warning'] = t('No direct support for transliterating path aliases or file names.');
$projects[$project]['in_core_upgrade_status'] = t('Leave enabled.');
break;
case 'uuid':
$projects[$project]['in_core_since'] = '1.x';
$projects[$project]['in_core_complete'] = TRUE;
$projects[$project]['in_core_upgrade_status'] = t('Disable and uninstall.');
break;
case 'variable':
$projects[$project]['in_core_since'] = '1.x';
$projects[$project]['in_core_note'] = t('Replaced by the core Configuration Management system in v1.0.');
$projects[$project]['in_core_complete'] = TRUE;
$projects[$project]['in_core_upgrade_status'] = t('Disable and uninstall.');
break;
case 'vertical_tabs_responsive':
$projects[$project]['in_core_since'] = '1.x';
$projects[$project]['in_core_note'] = t('Integrated into core themes in v1.2.');
$projects[$project]['in_core_complete'] = TRUE;
$projects[$project]['in_core_upgrade_status'] = t('Disable and uninstall.');
break;
case 'views':
$projects[$project]['in_core_since'] = '1.x';
$projects[$project]['in_core_note'] = t('Moved into core in v1.0.');
$projects[$project]['in_core_complete'] = TRUE;
$projects[$project]['in_core_upgrade_status'] = t('Leave enabled.');
$projects[$project]['in_core_upgrade'] = t('Before upgrade: Store all views in the database (not in exports).');
break;
case 'views_bulk_operations':
$projects[$project]['in_core_since'] = '1.x';
$projects[$project]['in_core_note'] = t('The core Views module provides bulk operations on simple actions.');
$projects[$project]['in_core_warning'] = t('No support for batch operations or configurable actions. See the relevant <a href="@vbo">core issue</a>.', array(
'@vbo' => 'https://github.com/backdrop/backdrop-issues/issues/3797',
));
$projects[$project]['in_core_upgrade_status'] = t('Disable and uninstall.');
break;
case 'views_responsive_grid':
$projects[$project]['in_core_since'] = '1.x';
$projects[$project]['in_core_note'] = t('Integrated into the Views module (Grid style) in v1.12.');
$projects[$project]['in_core_complete'] = TRUE;
$projects[$project]['in_core_upgrade_status'] = t('Disable and uninstall.');
break;
case 'wysiwyg':
$projects[$project]['in_core_since'] = '1.x';
$projects[$project]['in_core_note'] = t('Rich-Text Editor closely integrated with text formats in v1.2.');
$projects[$project]['in_core_upgrade_status'] = t('Disable and uninstall.');
$projects[$project]['in_core_upgrade'] = t('After upgrade: Editor reconfiguration will be necessary.');
break;
// Also correct information about D7 modules.
case 'cck':
$projects[$project]['in_core_note'] = '';
$projects[$project]['in_core_complete'] = TRUE;
break;
default:
// Any other module is not included in core.
$core = FALSE;
}
return $core;
}