The International Splash Awards are back — happening at DrupalCon Vienna on 14 October 2025! Submit your project(s) by 16 June 2025 and join others from around the world to celebrate the very best of what Drupal can do.
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']....
Drupal 10.1.6 version, trying to use token's in view custom css, but nothing working.
I added term id field to list, excluded from display, and on Title field: Style settings -> Custom field HTML -> Add HTML class -> added class [Term:id] (tried different variations) and it shows like - <span class="field-content -termid">. I need it to be <span class="field-content 3">.
This is again driving me mad half of the day. Since the new once plugin, things got harder.
I have dynamically generated elemsnts in a list i want to delete. Simple add/delete.
Everything works find but i have a problem on deleting the new added. The following code works fine but is fired MULTIPLE times. But as it seems once can not be used with document or window.
Whenever I do Clear All Cache from Admin Gui, it throws warnings as it cannot remove .../sites/default/files/css and .../sites/default/files/js directories
Status Report says:
The directory sites/default/files is not writable.
When I check file permissions they are as follows
drwxrwxr-x
What else do I need to correct in order to not get the above warning/error?