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

Entity API Custom Module One To Many Relationship How To?

Hello,

I'm developing a module. I created 2 entity "Base" and "Sub". Created "base" reference field for "Sub" entity. I want to create route `/base/{base}/subs/add` for creating "Sub" entity. But I couldn't set "base" from route parameter. Its throw "base could not be null". How can I pass this field value? I tried $form_state for populating that but its not worked. Still same problem.

Are there any other module can I review for 2 entity one to many support?

Using an iFrame for persistent audio.

Hi all,

I am looking for a functionality that does not seem to exist - at least I did not find any working solution. All the modules I tried did not check if a user is authenticated or could not get rid of the iFrame upon logging off (thus adding another iFrame each time I log on and off).

Add multiple file/images in unlimited fields (multi valued fields) programatically.

I am new to module development, I have developed a custom module to create node programatically and dynamically. I got stuck when adding multiple files/images in field. I am using this code found from the community answer & worked for me.

Updating a node field when another field changes

Hi, I must have read a hundred guides on using ajax to update a node field but i just cant get it to work! I have a custom module and have added the following code:

[SOLVED] Composer using old JSON for contrib module?

Been working on this for hours! I maintain skilling, a contrib module. This...

composer require drupal/skilling

... reports...

Unable to delete images from Node

Hey there,

Im really struggling on this one, Im able to edit my content text but when I try to delete the image in order to add a new one, I always get this error (error : https://imgur.com/TF91Mxq ).

Any idea how to fix it ?

Thanks

Pages

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