Skip to content
Snippets Groups Projects
Commit a5e3d4c5 authored by abu zakham's avatar abu zakham Committed by Rajab Natshah
Browse files

Issue #2931683 by abu-zakham: Fixed the print logo for VARTHEM_SUBTHEME which...

Issue #2931683 by abu-zakham: Fixed the print logo for VARTHEM_SUBTHEME which had a wrong URL, as it was fixed in vartheme
parent 015c4e6a
No related branches found
No related tags found
No related merge requests found
......@@ -25,5 +25,5 @@ function VARTHEME_SUBTHEME_theme_suggestions_page_alter(array &$suggestions, arr
* Implements hook_preprocess_page().
*/
function VARTHEME_SUBTHEME_preprocess_page(&$variables) {
$variables['logo_print'] = drupal_get_path('theme','VARTHEME_SUBTHEME') . '/logo-print.png';
$variables['logo_print'] = \Drupal::request()->getBaseUrl() . '/' . drupal_get_path('theme', 'VARTHEME_SUBTHEME') . '/logo-print.png';
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment