7
Your Own Custom Entity and Plugin Types
I am sure that you are looking forward to applying some of the knowledge gained from the previous chapters and doing something practical and fun. As promised, in this chapter, we will do just that. Also, apart from implementing our own entity types, we will cover some new things as well. So, here’s the game plan.
The premise is that we want to have products on our site that hold some basic information, such as an ID, a name, and a product number. However, these products need to somehow get onto our site. One way will be manual entry. Another, more important way, will be through an import from multiple external sources (such as a JSON endpoint). Now, things will be kept simple. For all intents and purposes, ...
Get Drupal 10 Module Development - Fourth Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.