How to  Embed views in a Drupal Paragraph type

Here we are discussing how to embed a view block in a paragraph type without custom code.

Here we are going to  Install block field module.

Block field allows to create any block as a field in any entity like paragraph.

Assume that you have a view block as below, this need to be displayed in paragraph as  a field. Below the Article view block shows a list of  articles.

After the Block module installation you can see below option in your Paragraph Add field.

Provide the label to the field, In Next page you could see all blocks available, uncheck all and select which view block you need.

Here I am selecting Article view block.

Now you can see the list of articles if you add this paragraph to any of your content type.

In my case I have added this to the Basic page content type so that I can display Articles in my basic page.

In add content of basic page,  you can see  view block inside paragraph. 

Get Free E-book
Get a free Ebook on Drupal 8 -theme tutorial
I agree to have my personal information transfered to MailChimp ( more information )
if you like this article Buy me a Coffee this will be an ispiration for me to write articles like this.

You may also like...