Properly use FormBase and EntityFormBase services

Both the FormBase and EntityFormBase classes pre-defined serveral classes via "fake" dependency injection (with a setter and sometimes a getter). Previously, these were not properly used by all code, leading to unexpected errors.

This MR resolves the issue to use the pre-defined getter methods where available, and calls the setter methods if needed.

Merge request reports

Loading