Mercurial > hg > cmmr2012-drupal-site
diff core/lib/Drupal/Core/Theme/Registry.php @ 5:12f9dff5fda9 tip
Update to Drupal core 8.7.1
author | Chris Cannam |
---|---|
date | Thu, 09 May 2019 15:34:47 +0100 |
parents | c75dbcec494b |
children |
line wrap: on
line diff
--- a/core/lib/Drupal/Core/Theme/Registry.php Thu Feb 28 13:11:55 2019 +0000 +++ b/core/lib/Drupal/Core/Theme/Registry.php Thu May 09 15:34:47 2019 +0100 @@ -342,7 +342,7 @@ // Process each base theme. // Ensure that we start with the root of the parents, so that both CSS files // and preprocess functions comes first. - foreach (array_reverse($this->theme->getBaseThemes()) as $base) { + foreach (array_reverse($this->theme->getBaseThemeExtensions()) as $base) { // If the base theme uses a theme engine, process its hooks. $base_path = $base->getPath(); if ($this->theme->getEngine()) { @@ -684,7 +684,7 @@ // Gather prefixes. This will be used to limit the found functions to the // expected naming conventions. $prefixes = array_keys((array) $this->moduleHandler->getModuleList()); - foreach (array_reverse($theme->getBaseThemes()) as $base) { + foreach (array_reverse($theme->getBaseThemeExtensions()) as $base) { $prefixes[] = $base->getName(); } if ($theme->getEngine()) {