$this->
subscribeEvent('Shopware\Models\Site\Site::postUpdate', 'onPostPersist'
);
$this->
subscribeEvent('Shopware\Models\Site\Site::postRemove', 'onPostPersist'
);
$this->
subscribeEvent('Shopware\Models\Form\Form::postPersist', 'onPostPersist'
);
$this->
subscribeEvent('Shopware\Models\Form\Form::postUpdate', 'onPostPersist'
);
$this->
subscribeEvent('Shopware\Models\Form\Form::postRemove', 'onPostPersist'
);
$this->
subscribeEvent('Shopware\Models\Form\Field::postUpdate', 'onPostPersist'
);
$this->
subscribeEvent('Shopware\Models\Form\Field::postPersist', 'onPostPersist'
);
$this->
subscribeEvent('Shopware\Models\Form\Field::postRemove', 'onPostPersist'
);
$this->
installForm();
return true;
} /**
* @return CacheControl
*/
public function initCacheControl(Enlight_Event_EventArgs
$args) { return new CacheControl( $this->
get(SessionInterface::
class),