Skip to content

Instantly share code, notes, and snippets.

@nadavoid
Last active September 27, 2018 05:51
Show Gist options
  • Save nadavoid/d510440ed59f9878e47d8ff0027df1e5 to your computer and use it in GitHub Desktop.
Save nadavoid/d510440ed59f9878e47d8ff0027df1e5 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