Skip to content

Instantly share code, notes, and snippets.

@nadavoid
Last active September 27, 2018 05:51
Show Gist options
  • Select an option

  • Save nadavoid/d510440ed59f9878e47d8ff0027df1e5 to your computer and use it in GitHub Desktop.

Select an option

Save nadavoid/d510440ed59f9878e47d8ff0027df1e5 to your computer and use it in GitHub Desktop.

Revisions

  1. nadavoid revised this gist Oct 31, 2016. No changes.
  2. nadavoid revised this gist Oct 31, 2016. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions ECK-Paragraphs-Blocks-and-Custom-Entities.md
    Original file line number Diff line number Diff line change
    @@ -24,3 +24,4 @@
    - https://www.chapterthree.com/blog/paragraphs-vs-eck-drupal-8
    - http://flocondetoile.fr/blog/improve-user-experience-paragraphs-drupal-8
    - https://www.webwash.net/how-to-create-powerful-container-paragraphs-in-drupal-8/
    - http://dannyenglander.com/blog/drupal-8-architecture-video-tour-designing-structured-modular-content-using-entity-construction
  3. nadavoid created this gist Oct 31, 2016.
    26 changes: 26 additions & 0 deletions ECK-Paragraphs-Blocks-and-Custom-Entities.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,26 @@
    # 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
    - https://www.chapterthree.com/blog/paragraphs-vs-eck-drupal-8
    - http://flocondetoile.fr/blog/improve-user-experience-paragraphs-drupal-8
    - https://www.webwash.net/how-to-create-powerful-container-paragraphs-in-drupal-8/