lucamario
lucamario

Reputation: 284

How to access theme config via app scripts in Shopware 6

Is there an option to access the theme config in app scripts?

As far as I unterstand only store config and config.xml configs are accessible: https://github.com/shopware/platform/blob/trunk/src/Core/System/SystemConfig/Facade/SystemConfigFacade.php

Does it make sense here to get access via the theme repository with: https://github.com/shopware/platform/blob/trunk/src/Core/Framework/DataAbstractionLayer/Facade/RepositoryFacade.php ?

Upvotes: 0

Views: 160

Answers (1)

j_elfering
j_elfering

Reputation: 3190

Yes you should access the theme config over the repository facade. There is no shorthand for that.

Upvotes: 1

Related Questions