diff --git a/core/lib/Drupal/Core/Theme/ActiveTheme.php b/core/lib/Drupal/Core/Theme/ActiveTheme.php index 361ab77..1414de0 100644 --- a/core/lib/Drupal/Core/Theme/ActiveTheme.php +++ b/core/lib/Drupal/Core/Theme/ActiveTheme.php @@ -190,7 +190,7 @@ public function getBaseThemes() { /** * Returns the libraries or library assets overridden by the active theme. - * + * * The array returned is in the form: * @code * [ @@ -201,7 +201,7 @@ public function getBaseThemes() { * 'core/jquery/js/assets/vendor/jquery/jquery.min.js' => 'js/collapse.js', * ] * @endcode - * + * * @return array */ public function getLibrariesOverride() { diff --git a/core/lib/Drupal/Core/Theme/ThemeInitialization.php b/core/lib/Drupal/Core/Theme/ThemeInitialization.php index a72a3f6..d953d49 100644 --- a/core/lib/Drupal/Core/Theme/ThemeInitialization.php +++ b/core/lib/Drupal/Core/Theme/ThemeInitialization.php @@ -241,7 +241,7 @@ protected function getExtensions() { * * @todo Remove in Drupal 9.0.x */ - private function resolveStyleSheetPlaceholders($css_file) { + protected function resolveStyleSheetPlaceholders($css_file) { $token_candidate = explode('/', $css_file)[0]; if (!preg_match('/@[A-z0-9_-]+/', $token_candidate)) { return $css_file; @@ -268,7 +268,7 @@ private function resolveStyleSheetPlaceholders($css_file) { * * @todo Remove in Drupal 9.0.x */ - private function prepareStylesheetsRemove(Extension $theme, $base_themes) { + protected function prepareStylesheetsRemove(Extension $theme, $base_themes) { // Prepare stylesheets from this theme as well as all ancestor themes. // We work it this way so that we can have child themes remove CSS files // easily from parent. @@ -293,4 +293,5 @@ private function prepareStylesheetsRemove(Extension $theme, $base_themes) { } return $stylesheets_remove; } + }