8 – Display custom form mode in twig with drupal_entity_form


I am using the form_mode_manager module for creating new form modes.

I have currently a new edit form mode which is called applicant, but whenever I add the drupal_entity_form function in my twig template, it says:

The “node” entity type did not specify a “applicant” form class.

Does anyone know how to resolve this?