From 910c983d2bdaa63fef626da3716becd818ca6411 Mon Sep 17 00:00:00 2001 From: Ivan Tibezh <ivan.tibezh@jobiqo.com> Date: Sat, 29 Mar 2025 13:54:39 +0200 Subject: [PATCH] Duplicate Form validation fix. --- src/Form/QuickTabsInstanceDuplicateForm.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Form/QuickTabsInstanceDuplicateForm.php b/src/Form/QuickTabsInstanceDuplicateForm.php index f78cd5a..8e43c8a 100644 --- a/src/Form/QuickTabsInstanceDuplicateForm.php +++ b/src/Form/QuickTabsInstanceDuplicateForm.php @@ -38,7 +38,7 @@ class QuickTabsInstanceDuplicateForm extends EntityForm { '#maxlength' => 32, '#default_value' => '', '#machine_name' => [ - 'exists' => 'quicktabs_machine_name_exists', + 'exists' => 'Drupal\quicktabs\Entity\QuickTabsInstance::getQuickTabsInstance', ], '#description' => $this->t('A unique machine-readable name for this QuickTabs instance. It must only contain lowercase letters, numbers, and underscores. The machine name will be used internally by QuickTabs and will be used in the CSS ID of your QuickTabs block.'), '#weight' => -8, -- GitLab