# Zugriff auf Plugin Einstellungen in ConditionHandler

**URL:** https://forum.shopware.com/t/zugriff-auf-plugin-einstellungen-in-conditionhandler/89730
**Category:** Programmierung
**Created:** [12. August 2021 um 18:17 UTC](https://forum.shopware.com/t/zugriff-auf-plugin-einstellungen-in-conditionhandler/89730 "2021-08-12T18:17:57Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![RomanReimche](https://avatars.discourse-cdn.com/v4/letter/r/e47774/32.png) [@RomanReimche](https://forum.shopware.com/u/RomanReimche)
#### Post date: [12. August 2021 um 18:17 UTC](https://forum.shopware.com/t/zugriff-auf-plugin-einstellungen-in-conditionhandler/89730/1 "2021-08-12T18:17:57Z")

</div>

Hallo,

ich versuche in meinem ConditionHandler auf die Plugineinstellungen zuzugreifen (laut der [Doku](https://developers.shopware.com/developers-guide/plugin-quick-start/#plugin-configuration-/-forms)):

```auto
$this->container->get('shopware.plugin.cached_config_reader')->getByPluginName('MyPluginName');

```

Das löst einen Serverfehler aus und mein IDE sagt mit, dass $this kein „container“ hat.

Was mache ich falsch?
