public function getIntegratedPluginsAction() { $firstRunWizardPluginStore =
$this->container->
get(FirstRunWizardPluginStoreService::
class);
$isoFromRequest =
$this->
Request()->
get('iso'
);
$isoCode =
$isoFromRequest ?
$isoFromRequest :
$this->
getCurrentLocale()->
getName();
$isoCode =
substr($isoCode, -2
);
try { $plugins =
$firstRunWizardPluginStore->
getIntegratedPlugins($isoCode,
$this->
getVersion());
} catch (Exception
$e) { $this->
View()->
assign([ 'success' => true,
'data' =>
[],
]);
return;
} $this->
View()->
assign([ 'success' => true,