Drupal 8 contains a highly flexible and sophisticated structured data engine built into core – the Entity API. With the core tools available inside the Admin UI, it is possible to create and manage very robust and complete sites. However, the Entity API can also be easily extended to create custom entities, and that is what we are going to in this webinar.
As we discussed in “Entities 101”, an entity is a “loadable thingy thats optionally fieldable”. While the concept is simple, the implementation can be intimidating. We are going to use freely available tools to make this process more accessible (and fast). By the end of the webinar, you will be able to create a basic custom entity and custom module in under 5 minutes.
• Leveraging Drupal Console for code scaffolding
• Creating a custom module to “house” the custom entity
• Permissions and routing
• Understanding folder naming and namespace
The code scaffolding along with the great code comments makes this a very friendly process, but this is a technical discussion about code. Attendees will be able to immediately apply what we are learning as we progress if they have a local development environment (like DevDesktop2) and Drupal console installed.