Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
I'm not sure how best to approach this problem and I'm hoping someone can point me in the right direction.
Quick summary of the setup of some nodes: Node A is the parent node. Node B is a child of Node A. Node B also houses/displays webforms. We have a "form" field in Node B where we can call existing webforms and Node B will then display the webform and any additional information (entered in Node B) to the user.
I met an issue with drush cim when importing a webform (not modified moreover). It asked me to delete all webform submissions before import, what I cannot do of course.
So I googled for a way to prevent exports of some yml with cex. I found the command drush cexy on drushcommands.com and tried to add the library with : composer require "drupal/drush_cmi_tools:~2.0"
But I received "Could not find package drupal/drush_cmi_tools."
Why ? Does this package exists ? There is no git repo neither.
Did somebody succeeded to use drush cexy and cimy ?
I'm trying to build a basic views filter that I can expose that lets me search through a paragraph entity for a specific value on a field. I am extending the base 'StringFilter' available via views and altering the query() method. Below is what I have:
for a module, with HOOK_form_alter, I manage to create various text fields on Drupal 9.
But I failed to create a "text with summary" field. Basic text is #type=textfield, long is textarea, formated texts are #type=text_format + #base_type=textfield or textarea.
But I can't figure how to create the "text with summary". I tried "textarea_with_summary", "text_with_summary", both for #type ou #base_type without success.
Any clue? Regards.
Note: by using text_format+text_with_summary I just get the formating option, not the textarea.
I am doing a custom module development in Drupal 9. So here my goal is to fetch all records from my Database and show it o the web page. For doing this I am using javaScript . So here my problem is if I am calling a javaScript function within a <script></script> tag , the function is not at all getting called. But when I am doing on click event the function is getting called. So here I am providing my code base along with my folder structure. Please Help e ASAP.