'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,
]);
} /**
* Helper function which validates the passed Shopware\Components\Form\Container.
*
* @throws Exception
*/