Reputation: 284
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
Reputation: 3190
Yes you should access the theme config over the repository facade. There is no shorthand for that.
Upvotes: 1