


Blackout on the 20th of September – we need you!
Hi Forum, We (a few people from developersforfuture.org, Campaigners from Avaaz , Greenpeace, 350.org, …) are planning a shutdown for climate – black out webpages on Septemer 20 to support the global climate strike. We want as many pages as possible to... read more
Using Drush without local copy of Drupal, only calling site aliases – No site aliases found
We have a project which does not contain a Drupal codebase. It’s Cypress.io test with Drush 9 added using Composer. I would like to execute Drush with site alias to work with the remote site while running tests. I’m able to call Drush from Cypress test... read more
Ignore UUIDs when comparing the difference between configuration exports
When building Features, i find it useful to keep a ‘backup’ of the full configuration and commit it to version control. If something breaks when i package a feature after i test how it works by doing a full re-install of the profile that brings together... read more
Custom formatter for paragraphs field
I want to build a custom formatter for a paragraphs field that renders some of the fields of the paragraph. However, I don’t know how to access the single files of the paragraph field. So far I’ve only written the skeleton of the formatter, but it... read more
How to get the file ID using managed_file on custom form?
In Drupal 8, I have a custom form that I built using the Form API in a custom module. I am trying to upload a file using managed_file field. For some reason I can’t get it to give me the file ID no matter what code I try. The file does indeed get uploaded and... read more
Overriding radio button rendering
I have a List (text) field on a comment type. This field is required and only one option may be chosen, so a radio button is how it will be rendered. I would now like to change the way the radio buttons are rendered to allow for additional necessary styling. I have... read more
Online Skill Test For Drupal 8 Developers
Hello Drupal Devs! I created the new Online Test For Drupal Developers https://drupalium.com/assessments/online-test-for-drupal-developers Test your Drupal 8 skills online before the technical interview! This free online test is designed to help you to evaluate your... read more
How to filter GraphQL query by content language?
I am coding Drupal 8/Angular app and Angular is fetching data from Drupal using GraphQL. Everything works fine except now I need to query nodes in a particular language. This is my query: { nodeQuery(filter: {conditions: [ {field: “type”, value:... read more
Add CSS class to view image_field in twig
In my custom view fields twig file views-view-fields–search–product_result.html.twig I try to theme my view item. {{ fields.field_images.content }} <h5 class=”card-title”>{{ fields.title.content }}</h5> How do I add a CSS class to... read more
How can I set value to hidden field (Form Api) and send them with post method?
I’ve created a form with Form Api in a custom module. I send datas with post method to a web service. In buildForm() $form[‘mode’] = array( ‘#type’ => ‘hidden’, ‘#value’ => ‘INTERACTIVE’, );... read more
Drupal::httpClient() and proxy settings
I’ve defined a proxy in my settings.php: $settings[‘http_client_config’][‘proxy’][‘http’] = ‘http://ip:port’; $settings[‘http_client_config’][‘proxy’][‘https’] =... read more
Files migration issue
I am following this tutorial on how to migrate files from D7 into D8. I have the migration setup with the following yml configuration: uuid: a685a4e0-1022-4bf2-a787-f6f1bef587ea langcode: en status: true dependencies: { } id: d8_files class: null field_plugin_method:... read more
Where in the MySQL database schema is the URL alias for a group relation?
I am building a report outside of Drupal that pulls data from a Drupal 8 database. The report shows titles of different nodes and I want to link those titles to the web page for that content. This is working fine if I use the standard /node/X path, but I would like to... read more