Hello everbody,

I'm a new Drupal user (it's awesome!), currently on D8 and after days of building and reading I have a problem that I cannot solve without your help:

It is possible to display a Views block, that is referenced in an entity reference field of a content type, without placing it inside a region (aka leave it in the 'Disabled' region in the Block layout but still have the block enabled somehow)?

(I don't want to go into too much detail here, I'm working with a very basic content type for pages that only features a 'Paragraps' field and one of my 'Paragraphs types' is an entity reference field to Blocks. The goal is to show a grid of all products (from a separate content type, gathered in a view and displayed as a block) and place it anywhere on the page, or even on other pages.)

Maybe there's a even more elegant or efficient way to do this, I'm happy to hear your thoughts.

Thanks and regards,
Tom

Edit: My question is very similar to this one on stackexchange. Unfortunately, there is no working answer yet, apparently it seems impossible without additional modules. I also tried to create an entity reference to a Views page, but I cannot find a reference that points Views pages.

Comments

tomhake1’s picture

Edit 2: After more research I found this very issue right here on drupal.org. Seems it's unclear if this functionality makes sense and therefore is not being worked on right now.

Edit 3: With the idea proposed by Berdir, it's possible to reference and display a block while having it in the Disabled region! All you have to do is create a field that references Plugin->Block. It produces some warnings and cannot be set to None, but basically it works!