public function getLogoAdmin(): string | public function getLogoAdmin(): string | ||||
{ | { | ||||
return '<img class="logo-admin" src="assets/img/' . $this->getParameter('app.admin.logo') . '" >'; | |||||
$image = $this->getParameter('app.admin.logo_sidebar'); | |||||
if(!$image) { | |||||
$image = $this->getParameter('app.admin.logo'); | |||||
} | |||||
return '<img class="logo-admin" src="assets/img/' . $image . '" >'; | |||||
} | } | ||||
} | } |