EVA: Entity Views Attachment

You can add a field to a content type that contains a view.

We make a view of the EVA type and connect it to the content type. (painters)

Drupal8_002005.png

Nu we add a contextual filter in order to show only the paintings of the painter and not all of the paintings.

Drupal8_002006.png

You set the filter:

Drupal8_002008.png

From now on, your view will not show any output unless you add a node number of a painter (look at the URL alisses) (nr 9 = Van Gogh)


Drupal8_002007.png

Done.. In the content type you will see the field in the display mode.Don't add a field. It is already there..

Drupal8_002009.png

The result:


Drupal8_002011.png