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.
In one node content type, there are several reference fields.
How can I limit them to these referenced entities and embed them in the body?
I want to create a rule that can be embedded in the body only once after registering it in the reference field.
This behavior is similar to an insert module.
However, the insert module can insert media at 8.6 or later, but can not insert node or term.
Referenced content is node, media, and term.
The content to embed after the association is node, media, and term.
In the past 13 or so days, I had nothing but frustrations trying to get started learning Drupal 8 custom module development. Reading the online documentation, example, purchasing 2 eBooks, watching 2 Lynda.com video series, watching another series on YouTube, and I am not even close to understand what this is all about and how this works. Not to mention, why does this has to be so complex!?
I'm not looking for a line-by-line code solution, just a general guideline/idea on how should I go about doing this simple sample exercise I came up with.