Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Also, for 'all' field mode (used in panes exposed forms), it's calling the user group stuff, which isn't needed at all since just want groups the user can access.
Comments
Comment #1
hefox CreditAttribution: hefox commentedSo, getGidsForCreate calls entity_load for all public groups then checks og_user_access for each indivudally.
Should be able to model that behaviour via a few queries
Comment #2
hefox CreditAttribution: hefox commentedAlso, for 'all' field mode (used in panes exposed forms), it's calling the user group stuff, which isn't needed at all since just want groups the user can access.
Comment #3
hefox CreditAttribution: hefox commented