Creating Custom Entities in Drupal 8 [July 20, 2016]

59:02
11822
67
2
0
11
Jul 21, 2016

Want to learn more about Acquia’s products, services, and happenings in the Drupal Community? Visit our site: http://bit.ly/yLaHO5.

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.

Topics include:
• 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.

Hi! I'm Karim Boudjema, the developer and site-builder of this site. I'm currently working as a freelance Drupal developer.

I was wondering how could I giving back to the Drupal community all what it gave to me during the last 10 years, that's how the idea of this site came to me ... (read more)

Hi! I’m Santiago Rico, the web designer and themer of this site.

When Karim proposed me to design and theme this site for the Drupal community, I accepted immediately because the community is the main reason why I love Drupal so much.