X-Git-Url: http://www.aleph1.co.uk/gitweb/?a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fconfig%2Ftests%2Fconfig_test%2Fsrc%2FTestInstallStorage.php;fp=web%2Fcore%2Fmodules%2Fconfig%2Ftests%2Fconfig_test%2Fsrc%2FTestInstallStorage.php;h=e3c4918df40dcfc2b3cc6d2b4e71ce5254b4f747;hb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;hp=0000000000000000000000000000000000000000;hpb=57c063afa3f66b07c4bbddc2d6129a96d90f0aad;p=yaffs-website diff --git a/web/core/modules/config/tests/config_test/src/TestInstallStorage.php b/web/core/modules/config/tests/config_test/src/TestInstallStorage.php new file mode 100644 index 000000000..e3c4918df --- /dev/null +++ b/web/core/modules/config/tests/config_test/src/TestInstallStorage.php @@ -0,0 +1,31 @@ +folders)) { + $this->folders = $this->getCoreNames(); + $listing = new ExtensionDiscovery(\Drupal::root()); + $listing->setProfileDirectories([]); + $this->folders += $this->getComponentNames($listing->scan('profile')); + $this->folders += $this->getComponentNames($listing->scan('module')); + $this->folders += $this->getComponentNames($listing->scan('theme')); + } + return $this->folders; + } + +}