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
!8521
Issue
#3456639
: Add check if "services.yml" file exists
Code
Review changes
Check out branch
Download
Patches
Plain diff
Open
Issue
#3456639
: Add check if "services.yml" file exists
issue/drupal-3456639:cherry-pick-5c0bf4f6
into
11.x
Overview
0
Commits
1
Pipelines
1
Changes
1
Open
Prabu Ela
requested to merge
issue/drupal-3456639:cherry-pick-5c0bf4f6
into
11.x
9 months ago
Overview
0
Commits
1
Pipelines
1
Changes
1
Expand
(cherry picked from commit
5c0bf4f6
)
0
0
Merge request reports
Compare
11.x
11.x (HEAD)
and
latest version
latest version
b6a3e9f3
1 commit,
9 months ago
1 file
+
4
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
sites/default/default.settings.php
+
4
−
1
Options
@@ -713,7 +713,10 @@
/**
* Load services definition file.
*/
$settings
[
'container_yamls'
][]
=
$app_root
.
'/'
.
$site_path
.
'/services.yml'
;
$services_file
=
$app_root
.
'/'
.
$site_path
.
'/services.yml'
;
if
(
file_exists
(
$services_file
))
{
$settings
[
'container_yamls'
][]
=
$services_file
;
}
/**
* Override the default service container class.
Loading