Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupal
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
drupal
Commits
8cf387a3
Commit
8cf387a3
authored
15 years ago
by
Angie Byron
Browse files
Options
Downloads
Patches
Plain Diff
#454462
by JohnAlbin: Fire MODULE_preprocess_maintenance_page functions.
parent
b7c27c32
Branches
Branches containing commit
Tags
Tags containing commit
2 merge requests
!7452
Issue #1797438. HTML5 validation is preventing form submit and not fully...
,
!789
Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
includes/theme.maintenance.inc
+9
-6
9 additions, 6 deletions
includes/theme.maintenance.inc
with
9 additions
and
6 deletions
includes/theme.maintenance.inc
+
9
−
6
View file @
8cf387a3
...
...
@@ -36,12 +36,15 @@ function _drupal_maintenance_theme() {
$theme
=
'minnelli'
;
}
else
{
// Load module basics (needed for hook invokes).
$module_list
[
'system'
][
'filename'
]
=
'modules/system/system.module'
;
$module_list
[
'filter'
][
'filename'
]
=
'modules/filter/filter.module'
;
module_list
(
TRUE
,
FALSE
,
$module_list
);
drupal_load
(
'module'
,
'system'
);
drupal_load
(
'module'
,
'filter'
);
if
(
!
db_is_active
())
{
// Because we are operating in a crippled environment, we need to
// bootstrap just enough to allow hook invocations to work.
$module_list
[
'system'
][
'filename'
]
=
'modules/system/system.module'
;
$module_list
[
'filter'
][
'filename'
]
=
'modules/filter/filter.module'
;
module_list
(
TRUE
,
FALSE
,
$module_list
);
drupal_load
(
'module'
,
'system'
);
drupal_load
(
'module'
,
'filter'
);
}
$theme
=
variable_get
(
'maintenance_theme'
,
'minnelli'
);
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment