$this->
View()->
assign(['success' => true, 'result' =>
$result]);
} catch (Exception
$e) { $this->
View()->
assign(['success' => false, 'message' =>
$e->
getMessage()]);
} } public function deactivatePluginAction() { $plugin =
$this->
getPluginModel($this->
Request()->
getParam('technicalName'
));
try { $result =
$this->pluginManager->
deactivatePlugin($plugin);
$this->
View()->
assign(['success' => true, 'result' =>
$result]);
} catch (Exception
$e) { $this->
View()->
assign(['success' => false, 'message' =>
$e->
getMessage()]);
} } public function uploadAction() { /** @var DownloadService $pluginDownloadService */
$pluginDownloadService =
Shopware()->
Container()->
get('shopware_plugininstaller.plugin_download_service'
);