Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
API page: https://api.drupal.org/api/drupal/core%21tests%21Drupal%21KernelTests%21...
> string|string[] $modules: A list of modules for which to install default configuration.
It appears that a single module is also allowed for this param -- docs should say that.
Comment | File | Size | Author |
---|---|---|---|
#5 | 2912666-5.patch | 671 bytes | shashikant_chauhan |
#2 | 707484_1.patch | 882 bytes | tobiberlin |
Comments
Comment #2
tobiberlinAttached find a patch. Hopefully it is what you intended?
Comment #3
dawehnerNote:
is totally valid. It indicates an array of strings. So what about using
string|string[]
?Comment #4
joachim CreditAttribution: joachim as a volunteer commentedComment #5
shashikant_chauhan CreditAttribution: shashikant_chauhan as a volunteer and at Iksula commentedAdding patch installConfig doc.
Comment #6
alexpottThe docs now match the functionality. This method also appears in the deprecated \Drupal\simpletest\KernelTestBase but I don't think we should spend effort maintaining docs on deprecated code.
Comment #7
alexpottFixing the issue title.
Comment #8
larowlanadding reviewers that shaped the patch
Comment #11
larowlanCommitted as 428362c and pushed to 8.5.x.
Cherry-picked as f38b718 and pushed to 8.4.x.