Commit 081f58e3 authored by alexpott's avatar alexpott

Issue #2486083 by stefan.r: The following module is missing from the file system: standard

parent 3b6e90d3
......@@ -166,6 +166,11 @@ protected function getAllFolders() {
if ($profile = drupal_get_profile()) {
$profile_list = $listing->scan('profile');
if (isset($profile_list[$profile])) {
// Prime the drupal_get_filename() static cache with the profile info
// file location so we can use drupal_get_path() on the active profile
// during the module scan.
// @todo Remove as part of https://www.drupal.org/node/2186491
drupal_get_filename('profile', $profile, $profile_list[$profile]->getPathname());
$this->folders += $this->getComponentNames(array($profile_list[$profile]));
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment