Skip to content

Commit 959a41a

Browse files
authored
Issue #339: Done in PR #340
2 parents 5d166b4 + 29ce7bc commit 959a41a

16 files changed

+11
-257
lines changed

README.md

+1-4
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ This installation profile requires the following modules:
2929
- [External Links](https://www.drupal.org/project/extlink)
3030
- [Features](https://www.drupal.org/project/features)
3131
- [Font Awesome Icons](https://www.drupal.org/project/fontawesome)
32+
- [Idle](https://www.drupal.org/project/idle)
3233
- [Module Filter](https://www.drupal.org/project/module_filter)
3334
- [reCAPTCHA](https://www.drupal.org/project/recaptcha)
3435
- [reCAPTCHA Preloader](https://www.drupal.org/project/recaptcha_preloader)
@@ -54,10 +55,6 @@ in PHP array style.
5455

5556
![captcha](images/captcha.png "captcha")
5657

57-
### Maintenance mode
58-
59-
![maintenance](images/maintenance.png "maintenance")
60-
6158

6259
## Mirror
6360

composer.json

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
"drupal/extlink": "2.0.2",
1818
"drupal/features": "3.14",
1919
"drupal/fontawesome": "2.26",
20+
"drupal/idle": "1.0.0",
2021
"drupal/module_filter": "5.0.3",
2122
"drupal/recaptcha": "3.3",
2223
"drupal/recaptcha_preloader": "2.0.1",

d8.info.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ description: The installation profile for CMS Drupal 10 based on the most common
33

44
type: profile
55
core_version_requirement: ^10.3
6-
version: 0.21.1.192
6+
version: 0.22.0.193
77

88
php: 8.3
99

@@ -26,6 +26,7 @@ dependencies:
2626

2727
- admin_toolbar:admin_toolbar_search
2828
- features:features_ui
29+
- idle:idle
2930
- jquery_ui_draggable:jquery_ui_draggable
3031
- jquery_ui_resizable:jquery_ui_resizable
3132
- module_filter:module_filter

d8.install

+7
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,13 @@ function d8_update_10302(array &$sandbox): void {
6262
\Drupal::classResolver(D8Setup::class)->module('help');
6363
}
6464

65+
/**
66+
* Install Idle module.
67+
*/
68+
function d8_update_10401(array &$sandbox): void {
69+
\Drupal::classResolver(D8Setup::class)->module('idle');
70+
}
71+
6572
/**
6673
* Process list of update hooks.
6774
*

d8.services.yml

-5
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,3 @@ services:
44
public: false
55
decorates: controller_resolver
66
parent: controller_resolver
7-
8-
d8.route_subscriber:
9-
class: Drupal\d8\Routing\D8RouteSubscriber
10-
tags:
11-
- { name: event_subscriber }

images/maintenance.png

-467 KB
Binary file not shown.

src/Controller/D8MaintenanceController.php

-41
This file was deleted.

src/Routing/D8RouteSubscriber.php

-23
This file was deleted.

themes/custom/d8_theme/css/maintenance.css

-2
This file was deleted.

themes/custom/d8_theme/css/maintenance.css.map

-1
This file was deleted.

themes/custom/d8_theme/d8_theme.info.yml

-4
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,3 @@ regions:
1616

1717
libraries:
1818
- 'd8_theme/base'
19-
20-
libraries-extend:
21-
system/maintenance:
22-
- d8_theme/maintenance

themes/custom/d8_theme/d8_theme.libraries.yml

-5
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,3 @@ base:
22
css:
33
component:
44
css/style.css: {}
5-
6-
maintenance:
7-
css:
8-
theme:
9-
css/maintenance.css: {}

themes/custom/d8_theme/sass/maintenance.scss

-56
This file was deleted.

themes/custom/d8_theme/src/Plugin/Alter/ThemeSuggestions.php

-38
This file was deleted.

themes/custom/d8_theme/src/Plugin/Preprocess/MaintenancePage.php

-52
This file was deleted.

themes/custom/d8_theme/templates/system/maintenance-page--guest.html.twig

-25
This file was deleted.

0 commit comments

Comments
 (0)