pass config to contentsManager
Merge pull request #7248 from Carreau/config-ctm

pass config to contentsManager