diff --git a/modules/oe_whitelabel_helper/src/Plugin/Block/CorporateEcLogoBlock.php b/modules/oe_whitelabel_helper/src/Plugin/Block/CorporateEcLogoBlock.php index cfdabce03..a3b67708e 100644 --- a/modules/oe_whitelabel_helper/src/Plugin/Block/CorporateEcLogoBlock.php +++ b/modules/oe_whitelabel_helper/src/Plugin/Block/CorporateEcLogoBlock.php @@ -88,17 +88,6 @@ public function build(): array { '#title' => $title, ]; - $mobile_url = file_create_url($logo_path . '/mobile/logo-ec--' . $language . '.svg'); - - $inline_template = [ - '#type' => 'inline_template', - '#template' => '{{ image }}', - '#context' => [ - 'image' => $image, - 'mobile' => file_url_transform_relative($mobile_url), - ], - ]; - $build = [ '#type' => 'link', '#url' => Url::fromUri('https://ec.europa.eu/info/index_' . $language, [ @@ -109,7 +98,7 @@ public function build(): array { 'target' => '_blank', ], ]), - '#title' => $inline_template, + '#title' => $image, ]; $cache->applyTo($build);