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

What are relationships?

After Jim and Lynn had gotten their coffee, they sat down at a table and Jim got out his pad of paper. "Let's take a look at the relationships between the various content types you have defined on your site." He drew a diagram that looked like this:

What are relationships?

Blue Drop Realty content type relationships

Blue Drop website relationships

"Okay, your site has four main content types: Property, Realtor, Property Owner, and Open House. They are related to each other, so the field_property_realtor in Property references the Realtor nodes, the field_property_owners in Property references the Property Owner nodes, and the field_open_house_property_refe ...

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