Skip to content

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