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

OpenDialogCommand buttons return Uncaught TypeError

Drupal 9.4. I am working on a module that reacts to managed_file events. On uploadAjaxCallback I wish to add a modal confirming some user intentions with a confirmation modal. The code is like the following...

How to retrieve the view mode for media image entities?

Hi,

I would like to create a filed formatter plugin and I can't get the view mode for media image entities.

What is the procedure for retrieving a list of view mode options?

[Advice] Adding Image ALT to Multiple Images on Multiple Nodes

Hey Devs,

I've been tasked with adding an alt to all images of a certain content type.

Each node from the content type may consider 1 or more images.
For now, I have to add the title of the node as the alt for each image.

Proposed Solution:

Drupal 10 ou 9...ou 8?

Friends, in Drupal 10 I am suffering much more than expected to be able to do what I did in Drupal 7.
I know that Drupal has changed a lot since version 8.
The question is: should I have installed Drupal 9 because I will have less problems with instabilities and module incompatibilities? or follow on Drupal 10?
What is the opinion of expert friends?
Thanks!

Run Rules Component programmatically

Hello friends.
First of all, I want to thank Jay Friendly (Jaypan) and Andrey Vitushkin (wombatbuddy) for their great attention and willingness to always help. Thanks!!
I want to let you know that I solved the CRONTAB issue using the Ultimate Cron module suggested by Jaypan (I don't know if it's the best way, but it's working) and I ended up giving up using the super useful Rules module with its triggers. I'm creating "by hand" my needs through hooks.

How to get Xdebug, Sublime Text 4 and Lando working?

Has anyone managed to get Xdebug and Sublime Text 4 working together in Lando?

There's https://docs.lando.dev/guides/lando-phpstorm.html and a similar solution on how to get it working with Sublime Text 4 and SublimeTextXdebug would be awesome.

Pages

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