protected function initSiteTreeIcons()
    {
        foreach (ClassInfo::subclassesFor(SiteTree::class) as $class) {
            
            $icon = Config::inst()->get($class, 'icon');
            
            $path = ModuleResourceLoader::singleton()->resolvePath($icon);
            
            if ($path !== $icon) {
                
                $path = preg_replace('#^vendor/#i', 'resources/', $path);
                
                Config::modify()->set($class, 'icon', $path);
                
            }
            
        }
    }