New to Drupal 8 coding so right at the start of my journey and I have a question.
I want to create some reusable custom functions for my custom module, and I'm trying to follow what I believe is the correct approach by putting my reusable custom functions inside the src directory and then using as a namespace, but I have never tried this before and can't get it to work.
I have tried the following which doesn't work so hoping someone will be kind enough to explain what I am doing wrong.
I'm creating a mail interface.
I need to prepopulate an entity refence field depending on a list selection field.
The entity reference field is defined in "message.php"
Hello, and firstly I apologize if this is the wrong place for this question.
I'm new to Drupal and rather new to RESTful services. I am trying to add content via a POST and for the most part it works, the only problem is filling out fields that have related data.