Issue #2899847 by Matroskeen, amateescu, Johnny vd Laar, alexpott: Add hook_entity_form_mode_alter hook to allow altering form_mode