Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
bs_base
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
bs_base
Commits
55667f14
Commit
55667f14
authored
1 year ago
by
ytsurk
Committed by
Ivica Puljic
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#3346593
by ytsurk: "site.path" service no longer existing in D10
parent
720837ab
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bs_base.drush.inc
+1
-1
1 addition, 1 deletion
bs_base.drush.inc
with
1 addition
and
1 deletion
bs_base.drush.inc
+
1
−
1
View file @
55667f14
...
...
@@ -503,7 +503,7 @@ function _bs_base_drupal_scan($type, $reset = FALSE) {
ExtensionDiscovery
::
ORIGIN_ROOT
=>
''
];
if
(
\Drupal
::
hasService
(
'kernel'
))
{
$searchdirs
[
ExtensionDiscovery
::
ORIGIN_SITE
]
=
\Drupal
::
service
(
'site.path'
);
$searchdirs
[
ExtensionDiscovery
::
ORIGIN_SITE
]
=
\Drupal
::
getContainer
()
->
getParameter
(
'site.path'
);
}
else
{
$searchdirs
[
ExtensionDiscovery
::
ORIGIN_SITE
]
=
DrupalKernel
::
findSitePath
(
Request
::
createFromGlobals
());
...
...
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