Skip to content

Commit

Permalink
Merge pull request #770 from City-of-Helsinki/UHF-X_fix_calc
Browse files Browse the repository at this point in the history
theme path variable wont reach calculator unless it is set on highest level
  • Loading branch information
rpnykanen authored Sep 14, 2023
2 parents 9b06e5a + b014a5d commit c428646
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hdbt.theme
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ function hdbt_preprocess(&$variables): void {
// Required for allowing subtheming for HDBT theme.
$variables['active_theme'] = $active_theme = \Drupal::theme()->getActiveTheme()->getName();
$variables['theme_prefix'] = $active_theme !== 'hdbt' ? $active_theme : '';
$variables['theme_path'] = _hdbt_get_theme_path();
}

/**
Expand Down

0 comments on commit c428646

Please sign in to comment.