Issue #2299421 by amitgoyal, joshi.rohit100: Remove all usage of drupal_build_form() as deprecated and replaced by FormBuilderInterface::buildForm().
Issue #2300873 by amitgoyal, joshi.rohit100: Remove usage of drupal_redirect_form() as deprecated.