[Drupal] How to use Paragraphs module?

| | 1 min read

The Paragraphs module is a new way of content creation. Instead of putting all contents through WYSIWYG body field, including videos and images, end-users can now choose on-the-fly between pre-defined Paragraph Types independent from one another.

How it works?
Paragraphs module comes with a new "paragraphs" field type that works like Entity Reference's. Just add a new paragraphs field of any Content Type you want and choose which Paragraph Types should be available to end-users.

You can create new paragraph bundles via admin/structure/paragraphs. On each paragraph bundle you can add multiple fields and manage the display and It behave like a separate content type. While adding a new paragraph field in a content type you can choose the paragraph bundles able to use for the end users. So that end users can add extra paragraph fields corresponding to a node.

On a developer's side to load a node corresponding bundle fields able to use the function paragraphs_item_load().

Hope you got some idea about Paragraph module. If you have any doubts, let us know. For any help or assistance, click here.