From 5e4d8832560df66b0d38ef033b1b49a379f35417 Mon Sep 17 00:00:00 2001 From: Andriy Khomych <2635-AndriyKhomych@users.noreply.drupalcode.org> Date: Sat, 1 Jul 2023 12:56:38 +0000 Subject: [PATCH] Issue #3371587 by Andriy Khomych: Need to be enabled after all feeds type creation --- feeds_ex_xml_mapping.module | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/feeds_ex_xml_mapping.module b/feeds_ex_xml_mapping.module index 60653e8..24855a2 100644 --- a/feeds_ex_xml_mapping.module +++ b/feeds_ex_xml_mapping.module @@ -59,7 +59,10 @@ function feeds_ex_xml_mapping_form_feeds_mapping_form_alter(array &$form, FormSt ], ]; // Custom submit handler. - $form['#submit'][] = 'feeds_ex_xml_mapping_form_feeds_mapping_form_submit'; + array_unshift( + $form['#submit'], + 'feeds_ex_xml_mapping_form_feeds_mapping_form_submit' + ); } /** -- GitLab