Hello,
For Simplenews OG -
https://www.drupal.org/project/simplenews_og →
- I would need an alter hook after categories have been loaded.
I suggest to add one in simplenews_categories_load_multiple().
Basically I need to restrict access to some categories (when og_access is present) and attach additional data (og_membership, OG group entity) when loading a simplenews category which is related to an OG group.
Here is a simple patch. Any advice is welcome.
Needs review
1.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.