/**
* Check if the currently installed plugin where marked to be compatible with the selected sw version
*
* @param string $version
*
* @return array<array<string, bool|int|string>>
*/
public function checkInstalledPluginsAvailableForNewVersion($version) { $service =
$this->container->
get(PluginStoreService::
class);
$installedPlugins =
$this->
getUserInstalledPlugins();
$technicalNames =
array_column($installedPlugins, 'name'
);
$locale =
$this->
getLocale();
$shopwareVersion =
$this->container->
getParameter('shopware.release.version'
);
$request =
new PluginsByTechnicalNameRequest($locale,
$shopwareVersion,
$technicalNames);
$storePlugins =
$service->
getPlugins($request);
$request =
new PluginsByTechnicalNameRequest($locale,
$version,
$technicalNames);
$updatesAvailable =
$service->
getPlugins($request);