- Issue created by @zorax
- 🇫🇷France zorax Monoblet
I change the loading of the form :
$noeud_form = \Drupal\node\Entity\Node::create(['type' => $variables['formulaire']]); $formulaire_to_add = \Drupal::service('entity.form_builder')->getForm($noeud_form); $variables['formulaire_to_add'] = $formulaire_to_add;
in twig : {{ formulaire_to_add }}
How can I specify to autosave the form ?
Regards,