By DanZ on
The Entity tutorials in the community docs haven't managed to explain what I need to know in a way I can understand. There's too much at once, and many of the parts use terminology and concepts that assume you know about the other parts.
Is there a simpler tutorial somewhere? Maybe a better-written one? Anyone have a link?
Comments
What I want to do
For starters, I'd like to do something simple:
Set up a record (entity type?) with just an id number and two strings. I know how to do that with a schema.
Set up a form to allow the entry of the strings. This is for configuring a module. The strings are just a success message and a failure message. The failure message is required.
Set up a View to make a table of these entities. The first column of each row contains the mini-form with the two form elements for the two strings. The second column contains a "delete" link and a "conditions" (Rules) link.
The View is on a page with an "Add new thing" link and a "Submit changes" button.
That seems pretty straightforward. Is that something Entity can do?
--
www.ztwistbooks.com. Math books that are actually fun.
This is a series of three articles about Entities
Moving Beyond Nodes
What Where and When Entities
Programming Hello Drupal Entitiy
These helped me tremendously, maybe they will help. Good luck. Also I don't know where I copied this from but it works too.
Thanks. This looks
Thanks. This looks promising. I'll definitely read it all.
--
www.ztwistbooks.com. Math books that are actually fun.