Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ilunie/550f26f6f25b98ac30a061dd96f63d35 to your computer and use it in GitHub Desktop.
Save ilunie/550f26f6f25b98ac30a061dd96f63d35 to your computer and use it in GitHub Desktop.
ECK, Paragraphs, Blocks, and Custom Entities in Drupal 8

ECK, Paragraphs, Blocks, and Custom Entities

ECK

  • best suited for custom relational entities
  • each ECK entity stands on its own
  • does not support translation (yet)
  • Use Inline Entity Form and Inline Entity Form Preview for best authoring experience.

Paragraphs

  • best suited for enhancing content entry on individual entities
  • treated as an extension of existing entities
  • does support translation
  • does not support content reuse

Blocks

  • Good fit for creating a handful of reusable entities

Custom entities

  • alternative to ECK
  • can support translation and revisions
  • can be scaffolded by drupal console

Some References

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment