# Event beim Speichern der Einstellungen eines Plugins?

**URL:** <https://forum.shopware.com/t/event-beim-speichern-der-einstellungen-eines-plugins/9273>\
**Category:** Shopware 3.5\
**Tags:** programming\
**Created:** [17. Oktober 2012 um 10:12 UTC](https://forum.shopware.com/t/event-beim-speichern-der-einstellungen-eines-plugins/9273 "2012-10-17T10:12:28Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![mkx](https://avatars.discourse-cdn.com/v4/letter/m/54ee81/32.png) [@mkx](https://forum.shopware.com/u/mkx)\
**Post date:** [20. Juli 2015 um 14:36 UTC](https://forum.shopware.com/t/event-beim-speichern-der-einstellungen-eines-plugins/9273/3 "2015-07-20T14:36:59Z")

</div>

Für alle die interessehalber hier landen: In der Datei engine/Shopware/Controllers/Backend/Config.php und der Funktion saveFormAction() gibt es zwei Events die man dafür nutzen kann. `$values = Shopware()-\>Events()-\>filter('Shopware\_Controllers\_Backend\_Config\_Before\_Save\_Config\_Element', $values, array( 'subject' =\> $this, 'element' =\> $element, 'shop' =\> $shop ));` `Shopware()-\>Events()-\>notify('Shopware\_Controllers\_Backend\_Config\_After\_Save\_Config\_Element', array( 'subject' =\> $this, 'element' =\> $element, 'shop' =\> $shop ));`

---

_[View the full topic](https://forum.shopware.com/t/event-beim-speichern-der-einstellungen-eines-plugins/9273)._
