amitaibu / og

A fork to work on OG8
https://github.com/Gizra/og
29 stars 16 forks source link

Views integration for OG standard reference field #227

Closed damiankloip closed 8 years ago

damiankloip commented 8 years ago

This copies the core reference field functionality completely. Our standard reference field item is the same in this respect.

damiankloip commented 8 years ago

@amitaibu and here! :)

amitaibu commented 8 years ago

When ready for review, please assign to me and add the needs review label

amitaibu commented 8 years ago

Thanks, would be great also to see a screenshot with the new options you have in Views.

damiankloip commented 8 years ago

@amitaibu This is just a start, but the options it gives you is identical to that of a regular entity reference field. As standard reference fields are basically the same as a regular ER field. So this PR is just the start of the views integration, adding the entity reference relationship. So you could E.g. just show in a listing the group that content is referencing:

lts_projects__content____tag1_updates_dev

The text is also the same as core, if you want any updates to that, just let me know. This can also be simple followup up stuff if we want to change it after using it a bit...

damiankloip commented 8 years ago

@amitaibu Also just pushed a commit to use Og::createField() in the test field setup.

amitaibu commented 8 years ago

Thanks!