Drupal 8 Entity Construction Kit (ECK) - Daily Dose of Drupal Episode 224

08:03
385
13
0
0
4
Aug 29, 2019

The Drupal 8 Entity Construction Kit (ECK) Module allows you to use the Drupal admin interface to build custom entity types. Sometimes you need additional data structures in your Drupal site and it doesn’t make sense to create it as a content type, this is where the ECK module comes in. Using it, you can create your custom entity data structures in Drupal 8 and add fields to them, similarly to how you build out content types.

These custom entity types can be themed and styled similarly to content types, but there are some differences. The general rule of thumb I recommend following is to think if you want the data to be displayed as a page that the website visitor will view. If you want a website visitor to access that information at a specific URL and you may want to add things such as comments, metatags, or more to this information, then a content type makes sense. If you don’t want a website visitor to access this information on it’s own page, and instead are going to use this information as more backend data or information that will feed into a page (but not require its own page), then ECK is the perfect fit.

Links:
Daily Dose of Drupal Episode 224 - https://codekarate.com/daily-dose-of-drupal/drupal-8-entity-constructio…
ECK Module - https://www.drupal.org/project/eck
CodeKarate.com - http://codekarate.com
Code Karate YouTube Channel - https://www.youtube.com/user/codekarate
Twitter account - http://twitter.com/smthomas3

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.