I am currently working on a payment process of a Drupal 10 application using Qenta. The payment process is initialized by setting #action inside buildForm of a form class to the payment-process-init-url of Qenta. The payment process works correctly but after Qenta redirects back to the Drupal 10 application using the provided successUrl the user is logged out even though the session cookie is still alive if I look into the developer tools of my browser (Chrome 120).
While upgrading from drupal 9 to drupal 10 i am getting error as call to deprecated function stopPropagation() , i would like to know how can i fix this error.
Nevermind. Thank god for ChatGPT. It fixed it and rewrote the whole thing and it works fine now.
Jesus christ this is absurd. So I got some actual help from folks on the Reddit Drupal site and I started over. I now have created a completely green test module use the "drush generate" command. Here is where I am at:
I migrated my side from Drupal 7 to drupal 10. In drupal 7 I used panels with blocks. And build 2 blocks with condition urls' to show the block.
Now in drupal 10 I have a layout for the vocabulary
If I want to show different content in a block by a term, is this possible somehow? Or do I need to add all blocks with condition url's to the lay-out? And then because of the condition in the block, it shows itself like in Drupal 7?
Hi everyone. I am trying to create dependency fields in paragraphs. In Drupal 9.2 i can use hook_field_widget_WIDGET_TYPE_form_alter() but in Drupal > 9.2 i am having some problems....
When i use this hook: hook_field_widget_single_element_WIDGET_TYPE_form_alter that in theory replace hook_field_widget_WIDGET_TYPE_form_alter() i can't access to fields in $element['subform']....