Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
ds-3188545
Manage
Activity
Members
Labels
Plan
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
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
Issue forks
ds-3188545
Commits
b331196e
Commit
b331196e
authored
7 years ago
by
Ariel Barreiro
Committed by
Bram Goffings
7 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#2867499
by hanoii, maxilein: Updating to 3.0 broked my site
parent
a817100b
No related branches found
Branches containing commit
Tags
8.x-3.0-beta2
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ds.install
+9
-0
9 additions, 0 deletions
ds.install
with
9 additions
and
0 deletions
ds.install
+
9
−
0
View file @
b331196e
...
...
@@ -59,3 +59,12 @@ function ds_update_8003() {
\Drupal
::
service
(
'module_installer'
)
->
install
([
'layout_discovery'
],
FALSE
);
}
}
/**
* Makes sure Layout Discovery is enabled on update, as 8003 could have failed to do so.
*/
function
ds_update_8004
()
{
if
(
!
\Drupal
::
moduleHandler
()
->
moduleExists
(
'layout_discovery'
))
{
\Drupal
::
service
(
'module_installer'
)
->
install
([
'layout_discovery'
],
FALSE
);
}
}
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