0

I have a Drupal 10 site with a content type Landing page which is set to work with Layout builder. Layout builder enables the content type to pull in blocks and webform nodes. Now I would like to pull in nodes of other content types. Is this possible with Layout builder

2
  • 1
    What do you mean exactly by "pull in nodes"? Layout Builder generally works with fields on a given entity. Commented Jan 28 at 3:26
  • I want to embed nodes of other content types into the node hosting the layout builder. Let me know if this makes sense. Commented Jan 28 at 4:47

2 Answers 2

3

One way to do this is with the Views module, which is included with Drupal core.

Any view can be made to output a block, and you can use filters and display limits to display a single entity of a content type or multiple content entities.

0

I have found the answer. We can use the Entity block module to fetch nodes of any content type and embed them in the layout.

https://www.drupal.org/project/entity_block

Layout builder only allows blocks by default. So this module allows node entities to be converted into blocks.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.