private function synchronizePluginThemes() { $plugins =
$this->util->
getActivePlugins();
$themes =
[];
/** @var Plugin $plugin */
foreach ($plugins as $plugin) { $path =
$this->pathResolver->
getPluginPath($plugin);
// Check if plugin contains themes
if (!
file_exists($path . DIRECTORY_SEPARATOR . 'Themes'
)) { continue;
} // Check if plugin contains themes
if (!
file_exists($path . DIRECTORY_SEPARATOR . 'Themes' . DIRECTORY_SEPARATOR . 'Frontend'
)) { continue;
}