// use the theme persister class to write the Shopware\Components\Form elements into the database
$this->persister->
save($container,
$template);
$this->eventManager->
notify('Theme_Configurator_Theme_Config_Saved',
[ 'theme' =>
$theme,
'template' =>
$template,
'container' =>
$container,
]);
$this->
removeUnused( $this->
getLayout($template),
$this->
getElements($template),
$container );
$this->
synchronizeSets($theme,
$template);
$this->eventManager->
notify('Theme_Configurator_Theme_Config_Synchronized',
[ 'theme' =>
$theme,
'template' =>
$template,
'container' =>
$container,
]);