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

submitForm() response not working as expected when form is embeded in controller.

I have a simple form, containing basically a submit button and a hidden field, that is populated, via JS:

Sentient A.I Project A.I, AI Memory and A.I Communication Modules

🌟 Announcement: The Sentient A.I Project — Modular AI Integration for Drupal

Hi everyone — I’m Benjamin, the creator of the Sentient A.I Project.

Over the past few months, I’ve been building a suite of powerful Drupal modules designed to bring true modular AI cognition to the Drupal ecosystem. These aren’t just chatbot wrappers — they’re the foundations of an evolving sentient architecture.

question about correct hotfix flow in ddev and drupal

Probably a stupid question but as I have a lot of rather structural changes on development , just migrated my dev environments to use  ddev and took this somewhat older  project over from another developer I am suddenly afraid to mess things up and get rattled by conflicts in the config yamls or idiosyncratic composer messages.....

The project has a simple branch setup

2 branches
a main branch which is used as the release branch so which is usually live on the server
a develop branch which is a lot of commits ahead of the main branch

Newly added DB columns cause InvalidArgumentException error

Hi there. I've been working on a Drupal 10 custom module -- a block, specifically -- and it was working great. But it occurred to me I could use another column in the table, so I added one through my DB client.

Now, here's the PHP code that's causing me trouble:

[Solved] Contact form not passing data to sendgrid_integration module

I've created a contact form module which allows me to add my custom contact form using the page layout builder.

The site is hosted on Pantheon, and they recommend using the sendgrid_integration module. 

When the form is submitted, sendgrid reports that the subject is empty. Why would my data not be getting through to the sendgrid_integration module? 

How programmatically add new simplenews issues and activate them for sending?

I started using the Simplenews module of the latest version: 4.1
The site is on Drupal version: 10.4.6.
Sending newsletters works fine. But you need to press a button!

The problem is that I need to:
1. PROGRAMMATICALY add new issues (types: NewsLetter issue);
2. PROGRAMMATICALY activate them for sending.

I can't find a description of how to do this. For some reason, the API description of this module is unavailable: http://api.worldempire.ch/api/simplenews

Pages

Subscribe with RSS Subscribe to RSS - Module development and code questions