Closed (fixed)
Project:
Drupal core
Version:
9.5.x-dev
Component:
documentation
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
19 Apr 2021 at 10:04 UTC
Updated:
3 Mar 2023 at 08:24 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
joachim commentedAlthough, KernelTestBase::bootKernel() calls $kernel->setSitePath with a value like 'vfs://root/sites/simpletest/87157814' and presumably that is NOT in the app root.
Comment #7
joaopauloc.dev commentedDocumentation updated.
DrupalKernelInterface::getSitePath
DrupalKernelInterface::setSitePath
and
DrupalKernel property $sitePath
Comment #8
pooja saraah commentedFixed Custom Commands on #7
Attached interdiff patch.
Comment #9
joaopauloc.dev commentedComment #10
smustgrave commentedThe changes appear to make sense. Only phrase I'm not sure we can use is
Almost every time this value will be sites/default.WIll see what the committers say but not sure we can assume that (even if it's true)
Comment #11
joachim commentedI think the test could do to be tweaked for grammar and readability. I'll have a go later.
Also there's a function first line that should be 'Gets' not 'Get'.
Comment #13
joaopauloc.dev commentedComment #14
smustgrave commented@joachim unless there was more you wanted to add think this is good.
Comment #21
catchLooks good to me.
Change drupal to Drupal on commit (actually a follow-up commit...).
By default, Drupal uses sites/default is a lot of defaults, but don't see a way around that really.