2c2 < index d853410..ab7421b 100644 --- > index d853410..79601a2 100644 10c10,16 < @@ -452,7 +451,7 @@ function skmn_preprocess_page(&$variables){ --- > @@ -447,12 +446,12 @@ function skmn_preprocess_page(&$variables){ > theme_get_setting("default_logo") && > theme_get_setting("toggle_logo")) { > > - $variables['logo'] = file_create_url(drupal_get_path('theme', $theme_key)) . "/css/colors/" . $current_skin . "/images/logo.png"; > + $variables['logo'] = \Drupal::service('file_url_generator')->generateAbsoluteString(\Drupal::service('extension.list.theme')->getPath($theme_key)) . "/css/colors/" . $current_skin . "/images/logo.png"; > } 18a25,37 > diff --git a/zircon.theme b/zircon.theme > index a6f4008..161c289 100644 > --- a/zircon.theme > +++ b/zircon.theme > @@ -4,7 +4,7 @@ use Drupal\Component\Utility\Xss; > use Drupal\Core\Template\Attribute; > > $active_theme = \Drupal::theme()->getActiveTheme()->getName(); > -include_once(drupal_get_path('theme', $active_theme) . '/assets/includes/skins-menu/skins_menu.inc'); > +include_once(\Drupal::service('extension.list.theme')->getPath($active_theme) . '/assets/includes/skins-menu/skins_menu.inc'); > function zircon_preprocess_html(&$variables) { > $is_front_page = \Drupal::service('path.matcher')->isFrontPage(); > if ($is_front_page) {