$pluginPath =
$this->shopwarePath . '/engine/Shopware/Plugins/Default';
$types =
['Backend', 'Core', 'Frontend'
];
$plugins =
[];
foreach ($types as $type) { foreach (new DirectoryIterator($pluginPath . '/' .
$type) as $dir) { if (!
$dir->
isDir() ||
$dir->
isDot()) { continue;
} if ($this->
isDummyPlugin($dir->
getPathname())) { $plugins[] =
$dir->
getPathname();
} } } return $plugins;
} /**
* @param string $path
*
* @return bool
*/