- Issue created by @dakwamine
- 🇵🇱Poland salmonek
Hi @dakwamine
Your request seems doable, however ther is I think easier way to remove submit than removing form wrapper. You can remove the submit button itself. For example:
function MYMODULE_form_alter(&$form, \Drupal\Core\Form\FormStateInterface $form_state, $form_id) { if ($form_id === 'node_page_form') { unset($form['actions']['submit']); unset($form['actions']['preview']); } }
- Status changed to Closed: works as designed
30 days ago 9:25am 4 April 2025 The solution suggested by @salmonek should resolve the issue. We don't plan to cover this edge case in the module itself for the time being, unless there will be more requests from the community.