Block with entities referenced in a field from current node (of different type)

Solutions

You need to add relationship Entity Reference: Referenced Entity for field which is referencing to Place content type and you will see the Place field in fields.

Hope this will help. enter image description here

Tags: Drupal 8 / Blocks

Similar questions

Drupal 8: how can I "eager load" Entities referenced via EntityReferenceFieldItemList field
Note: this is my first Drupal project as I am usually working with Laravel. I have some entities my-nodes that have a field EntityReferenceFieldItemList (a multi-select linking to other entities of another content type related-nodes). I want to query the my-nodes entities together with the related entities in 1 query (in Laravel I would describe th...
Filter the list of entities referenced by "Entity reference revisions" field
I have a content type "Slider" which uses an Entity reference revisions field named "Slides" to save reference to various paragraphs that are then displayed on the frontend as a hero slider. Everything works fine but now we have received a request of filtering out the slides by a show/hide boolean flag in the slide paragraph. Ad...
Twig conditional render if specific field in array of referenced entities contains text
In a Twig template, I'm conditionally rendering a sidebar based on whether custom field content.field_body (Paragraphs entity reference revisions field type) contains any items. This worked fine until the requirements changed. :) Now I need to render this entire sidebar <div> if and only if one of the item.entity.field_subhead fields in the [...
Drupal Content View Show entities referenced via user reference field
Using Drupal 7, Views and Entity API I am trying to create a View which shows the logged in User all downloads which are available to him. I use the following Content Types: The User has an entity reference field that accepts 1 value to reference a Software Pack. user_software_pack The Software Packs include an entity reference field that accepts u...
How to create a view of nodes that are referenced by a node that references the current node?
I have three content types: patient, patient medication, and physician. Using the Node Reference module, patient medication references the patient content type and the physician content type. How can I create a view with a contextual filter that does the following: When I view a physician node, I want to view all patients that the physician has int...
Attaching Entities to other Entities
I have two custom entities in a D7 site. One is 'additional' data on an entity, and I want to attach that data to the main entity every time it is loaded. Within Entity/Entity API, how can I do that correctly? attachLoad sounded correct but seems to be Field related, all my data are not fields (yet).

Also ask

We use cookies to deliver the best possible experience on our website. By continuing to use this site, accepting or closing this box, you consent to our use of cookies. To learn more, visit our privacy policy.