We have to either remove or deprecate getForm, and replace it with getFormInformation. This is to track it. I plan to do this update myself. See https://phabricator.wikimedia.org/T141300 .