Skip to content
This repository has been archived by the owner on Mar 16, 2021. It is now read-only.

Explore entities for relationships. #8

Open
e0ipso opened this issue Feb 25, 2015 · 1 comment
Open

Explore entities for relationships. #8

e0ipso opened this issue Feb 25, 2015 · 1 comment

Comments

@e0ipso
Copy link
Owner

e0ipso commented Feb 25, 2015

The idea is to have entities to provide relationships for free. So if you have an entity reference field called Related, you can type $typed->getRelated() and get the typed entity for the entity pointed by Related. Without having to implement that yourself.

Types of relationship fields:

  • User.
  • Taxonomy term.
  • File fields (if file_entity is enabled).
  • Entity Reference fields.

@deviantintegral, @davereid is this stepping over the line and doing too much?

@e0ipso
Copy link
Owner Author

e0ipso commented Feb 25, 2015

The idea would be leveraging EMW to get the related entity and then return the typed entity.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant