Issue #3211930 by tvalimaa, guilhermevp: Call to an undefined method Drupal\Core\Form\FormInterface::getEntity()