Create Custom Entity Types in Drupal Using ECK

Published: 01 January 1970
on channel: WebWash
514
23

👉 Support the channel & get exclusive content - Join WebWash Premium: https://www.webwash.net/premium/

Join our free live stream to learn how to create custom entity types in Drupal using ECK (Entity Construction Kit).

We'll cover:

When to create a custom entity type vs. using a content type.
Creating custom entity types and bundles using ECK.
Attaching fields to your custom entities.
Integrating custom entities into Drupal with views and display modes.
Generating custom entity types using Drush.

Perfect for Drupal developers and site builders who want to go beyond just content types.

Links

ECK (Entity Construction Kit): https://www.drupal.org/project/eck
Pathauto: https://www.drupal.org/project/pathauto
Token: https://www.drupal.org/project/token
Revision support issue for ECK: https://www.drupal.org/project/eck/is...

Chapters

00:00 Preshow
05:17 WebWash Premium

Intro
06:32 Intro to ECK (Entity Construction Kit)
06:54 What are entity types in Drupal?
09:05 Ways to create custom entity types
10:19 Overview of tonight's plan

Install and Configure ECK
10:30 Download and install ECK module
12:36 Create a task entity type with base fields
15:35 Create a bundle and configure fields
17:22 Add custom description field
18:54 Create taxonomy vocabularies for Status and Priority
20:17 Add taxonomy reference fields

Path Auto and Views Integration
23:08 Configure Path Auto for clean URLs
27:17 Create a Views page for tasks
30:03 Set permissions and exposed filters
34:08 Add Views Bulk Edit for bulk operations

Database Schema
37:26 Inspect task tables in database
38:18 How Drupal handles base fields vs custom fields
40:39 Node tables and revision storage

Custom Entity via Drush
42:55 Generate custom entity type using Drush
44:06 Create module and content entity scaffolding
47:38 Review generated code and file structure
49:32 Fix entity schema issues with snapshot restore
52:22 Test custom job entity

ECK vs Custom Code
54:51 Custom entities are complex in Drupal
55:17 Comparison with other frameworks
57:05 Use Drush generator plus AI, or just use ECK

Summary
57:29 Recap: ECK vs custom code options
59:46 Module lock-in considerations
1:01:57 Ending

1:03:02 Postshow

1:03:05 ECK module impressions and data storage
1:09:18 Drush's future and CLI in Drupal core
1:14:11 HTMX in Drupal discussion
1:18:56 AI-powered development vs Drupal
1:19:55 AstroJS motorsport side project
1:32:46 Have a great weekend everyone


#drupal #drupalcms #eck


On this page of the site you can watch the video online Create Custom Entity Types in Drupal Using ECK with a duration of hours minute second in good quality, which was uploaded by the user WebWash 01 January 1970, share the link with friends and acquaintances, this video has already been watched 514 times on youtube and it was liked by 23 viewers. Enjoy your viewing!