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
Merge requests
!10272
Resolve
#3478628
"Fatal error uncaught"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Closed
Resolve
#3478628
"Fatal error uncaught"
issue/drupal-3478628:3478628-fatal-error-uncaught
into
11.x
Overview
5
Commits
10
Pipelines
6
Changes
2
All threads resolved!
Hide all comments
Closed
andrew farquharson
requested to merge
issue/drupal-3478628:3478628-fatal-error-uncaught
into
11.x
7 months ago
Overview
5
Commits
10
Pipelines
6
Changes
2
All threads resolved!
Hide all comments
Expand
Closes
#3478628
0
0
Merge request reports
Compare
11.x
version 5
e3008b5b
6 months ago
version 4
4cb68164
6 months ago
version 3
87a31e47
7 months ago
version 2
2b6cd248
7 months ago
version 1
df597b73
7 months ago
11.x (base)
and
latest version
latest version
248649e2
10 commits,
6 months ago
version 5
e3008b5b
9 commits,
6 months ago
version 4
4cb68164
8 commits,
6 months ago
version 3
87a31e47
6 commits,
7 months ago
version 2
2b6cd248
5 commits,
7 months ago
version 1
df597b73
4 commits,
7 months ago
2 files
+
21
−
4
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
core/lib/Drupal/Core/Extension/ThemeHandler.php
+
10
−
3
Options
@@ -67,11 +67,18 @@ public function getDefault() {
public
function
listInfo
()
{
if
(
!
isset
(
$this
->
list
))
{
$this
->
list
=
[];
$installed_themes
=
$this
->
configFactory
->
get
(
'core.extension'
)
->
get
(
'theme'
);
$installed_themes
=
array_keys
(
$this
->
configFactory
->
get
(
'core.extension'
)
->
get
(
'theme'
)
)
;
if
(
!
empty
(
$installed_themes
))
{
$list
=
$this
->
themeList
->
getList
();
foreach
(
array_keys
(
$installed_themes
)
as
$theme_name
)
{
$this
->
addTheme
(
$list
[
$theme_name
]);
foreach
(
$installed_themes
as
$theme
)
{
// Do not add installed themes that cannot be found by the
// extension.list.theme service. If a theme does go missing from the
// file system any call to ::getTheme() will result in an exception
// and an error being logged. Ignoring the problem here allows the
// theme system to fix itself while updating.
if
(
isset
(
$list
[
$theme
]))
{
$this
->
addTheme
(
$list
[
$theme
]);
}
}
}
}
Loading