How to set entity form and entity view display settings programatically