Code
Explorer
You are a developer and looking for Shopware projects?
Apply Now!
removeFormsAndElements example
$pluginId
=
$plugin
->
getId
(
)
;
$this
->
removeEventSubscribers
(
$pluginId
)
;
$this
->
removeCrontabEntries
(
$pluginId
)
;
$this
->
removeMenuEntries
(
$pluginId
)
;
$this
->
removeTemplates
(
$pluginId
)
;
$this
->
removeEmotionComponents
(
$pluginId
)
;
$this
->
removeSnippets
(
$bootstrap
,
$removeData
)
;
if
(
$removeData
)
{
$this
->
removeFormsAndElements
(
$pluginId
)
;
}
return
$context
;
}
/** * @throws Exception * * @return UpdateContext */
public
function
updatePlugin
(
Plugin
$plugin
)
{