Resolve #3450610 "Crashes forms without"
Closes #3450610 - wraps the call to getEntity() in some logic and writes a super simple unit test to catch such logic for non-EntityForm forms in the future.
Edited by Maria Fisher
Closes #3450610 - wraps the call to getEntity() in some logic and writes a super simple unit test to catch such logic for non-EntityForm forms in the future.