# How to Access Config Parameters in Twig Template of the Admin Module

**URL:** <https://forum.shopware.com/t/how-to-access-config-parameters-in-twig-template-of-the-admin-module/69422>\
**Category:** Programming (EN)\
**Created:** [7. September 2020 um 10:27 UTC](https://forum.shopware.com/t/how-to-access-config-parameters-in-twig-template-of-the-admin-module/69422 "2020-09-07T10:27:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![coffeeman](https://avatars.discourse-cdn.com/v4/letter/c/cdc98d/32.png) [@coffeeman](https://forum.shopware.com/u/coffeeman)\
**Post date:** [7. September 2020 um 10:27 UTC](https://forum.shopware.com/t/how-to-access-config-parameters-in-twig-template-of-the-admin-module/69422/1 "2020-09-07T10:27:02Z")

</div>

Hey there,  
I’m looking for a way to access configuration parameters in twig template of the admin module. I tried to acces it by:

{{ shopware.config.pluginName.config.fieldName }}

The problem is that in the admin module {{ shopware.config }} isn’t available. I tried to access it by {{ dump(shopware.config) }} but it returns nothing.  
Am I doing something wrong?

Is there alternative to access plugin’s configuration parameters in the admin module?

Is there a way to pass php variables to twig template of the admin module?

Thanks in advance,

Cheers!

&nbsp;
