`cfg` takes a view as parameters and resolves the new config structure.
Make `shouldBeDisplayed` a little bit more readable.
This part is no longer in core.
Merge branch 'dissociate-config-view' into develop