Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for og_standard_reference field type of 'Organic Groups' contrib module #237

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

BaluErtl
Copy link

@BaluErtl BaluErtl commented Aug 9, 2021

We needed it in a client project to be able to build a hierarchical content structure in runtime. With this extra class in the namespace now Behat/Mink finds the correct handler to populate Organic Groups' entity reference field too. For example:

Given organization content:
  | title                 | status | og_audience           | author |
  | Top-level published   | 1      |                       | owner  |
  | Mid-level published   | 1      | Top-level published   | owner  |
  | Low-level published   | 1      | Mid-level published   | owner  |
  | Top-level unpublished | 0      |                       | owner  |
  | Mid-level unpublished | 0      | Top-level unpublished | owner  |
  | Low-level unpublished | 0      | Mid-level unpublished | owner  |

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

Successfully merging this pull request may close these issues.

1 participant