O'Reilly logo

Mastering Drupal 8 Views by Gregg Marshall

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Summary

The first relationship added to the Available Property Listing view was for the neighborhood taxonomy. In previous versions of Drupal, taxonomies were handled differently, but in Drupal 8, they are just entity references. Extending the taxonomy case to entity types defined in custom content types, the property listing was enhanced to include the listing of realtor(s) names and phone numbers, which are stored in a Realtor content type, separate from the Property content type being displayed. That showed that even though the Title field was used twice in the display, adding the relationship to the second use displayed realtor names instead of property addresses. Finally, an attached display showed how to use a reverse relationship to show ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required