I have created a custom module providing a block.
The block is available in the block library under "Block Layout" (/admin/structure/block
).
On the other hand, I have a custom content type with an "Entity reference revisions" field that allows me to add any kind of content to a page. I can select "Add Drupal Block" in this field but my custom block either:
- Shows up in the list if it's placed in the block layout (but then it appears twice on the page)
- Doesn't show at all in the list if it's not placed in the block layout
Am I misunderstanding something or doing something wrong ? Thanks!