Skip to content

Commit

Permalink
Update kraken.theme
Browse files Browse the repository at this point in the history
  • Loading branch information
occupant committed Dec 12, 2022
1 parent c0d58ff commit 9d00a3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kraken.theme
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ function kraken_preprocess_page(&$variables)
if (!empty($vpr_portfolio_signature)) {
$vpr_sig = \Drupal\file\Entity\File::load($vpr_portfolio_signature['0']);
$uri = $vpr_sig->getFileUri();
$vpr_sig_url = \Drupal\Core\Url::fromUri(file_create_url($uri))->toString();
$vpr_sig_url = \Drupal::service('file_url_generator')->generate($uri)->toString();
$variables['vpr_sig_url'] = $vpr_sig_url;
}
}
Expand Down

0 comments on commit 9d00a3b

Please sign in to comment.