Properly theme folder icons that are accessed though imagePathtags/v17.0.0beta1
} catch (AppPathNotFoundException $e) {} | } catch (AppPathNotFoundException $e) {} | ||||
return $this->urlGenerator->linkToRoute('theming.Theming.getManifest') . '?v=' . $cacheBusterValue; | return $this->urlGenerator->linkToRoute('theming.Theming.getManifest') . '?v=' . $cacheBusterValue; | ||||
} | } | ||||
if (strpos($image, 'filetypes/') === 0) { | |||||
return $this->urlGenerator->linkToRoute('theming.Icon.getThemedIcon', ['app' => $app, 'image' => $image]); | |||||
} | |||||
return false; | return false; | ||||
} | } | ||||