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.
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.
I have a form (Form1) in my installation profile. This form retrieves an object using a json request. Now I need to persist the entire object class in session so I can access it from Form2
I do \Drupal::request()->getSession()->set('obj_var', $object)
in Form1.
I am not sure where to post this, if there is a better place this question fits let me know. But I am a student website developer for my university. We have this website here: https://signetwork.org/
In 2010 I created a free portal (marketingaziende.it) in which each company with a VAT number could create its own web page for advertising and marketing. Initially, the page was very simple and the html necessary for the visualization of the company was inserted in the body field of the node (type 'story').
I’m exploring the best way to manage multilingual content in Drupal and wanted to share an option I recently worked with: Linguise. It’s an AI-powered translation tool that integrates with Drupal to help translate websites automatically while keeping them SEO-friendly.