This forum is for module development and code related questions, not general module support. For general support, use the post installation forum.

THIS FORUM IS NOT FOR "What module..." or module support questions-- it's for module development and code related questions.

The module development and code questions forum is intended to aid those who are developing modules or writing code for Drupal.

Please note that this forum is also not intended for "Is there a module that does..." or "I need help with module x..." questions. It's also not a place to ask developers to write your code for you. Please respect this.

Please do not post general discussions intended to target module developers. If the question you have isn't specifically related to writing a drupal module, please post it in a more appropriate forum.

  • If you you have drupal installed already and are seeking a module that does a specific task, have a question about a specific module and what it does or if it will fit your use case, please place your questions in the Post installation forum.
  • If you have a problem or question about a specific module, you should create an issue in the module's issue queue (after checking for an existing issue first).
  • If you don't have drupal installed yet, please place your questions in the Before you start forum.

Match User and Nodes with Views


my aim is to display nodes in a view with relationship to the logged in user in Drupal 8.
The users have a education field and a education year (multiple rows possible at the moment with paragraph field-collection) and there is a assignment content type with one education and education year. I want to display all assignments with educations which match to the user educations.

Important point: If a user is in education year 3, all assignments with the education in year <=3 should be display, thats why a usual context filter on taxonomy doesn't work.

setErrorByName is not Displaying Error messages.

I am using drupal 8 and i have created a form in which there are say 13 fields. Most of them around 8 fields have error messages, in case the user inputs a invalid credentials. But the problem is it is not displaying the messages on submit. The submit function also isn't working and it just stays in the form page since there is error. Without knowing the error the user can't proceed further. Can anyone help me out?

Thanks in advance,


list of core-defined default tokens


how to get the list of core-defined default tokens ?

Have i to install some modules ?


How to use Views & leaflet to create a map of many locations in drupal 8

I need to create a view with leaflet for displaying various places from differents content type.

My first content is "school" with one address/geolocalisation field

My second content type "shops" has the same field with one entity reference for targeting  a "school"

It means that on one map, I need to display a school with all the shops referenced with this school

Can you help ?


When saving VIEWS in Drupal 8, http error 500 comes out.

Hi Drupal Community,

Thanks for helping each other.

I am building a website with Drupal 8. After creating a view on my tables, and then clicking the SAVE button, http error 500 always comes out.

Why is this error happening and what should I do to fix it?

Thanks for your help.




Subscribe with RSS Subscribe to RSS - Module Development and Code Questions