Batsis

mysite does not have before/after properties

Batsis

@nightjarnz Yes I have Before: - '#modules-other' in the module config

nightjarnz

3) The actual answer to your question is to work out whether you have any Before or After blocks in the Yaml section header for your config. These are important.

nightjarnz

2) I would recommend using Injector to supply the config value

Firesphere

It's order of operation. You'll need to configure your app configuration to be applied after your module

nightjarnz

1) I would recommend making the config param a constructor value instead.

Batsis

Hi All,

I have a class in my custom module that takes a parameter called width in the yml file. This parameter is handled in the constructor of the class using self::config()->get('width'), all this is working fine, but when I try to override this value by defining the same parameter in the _config/mysite.yml it does not update. Any help would be highly appreciated. TIA