Issue #3256324 by chmez: Make join methods for groups re-usable
Problem
Functionality for using different join methods is hardcoded only for groups.
Solution
Delete hard relationships to groups to be able to use it for different entity types.
Issue tracker
- https://getopensocial.atlassian.net/browse/YANG-6475
- https://www.drupal.org/project/social/issues/3254715
- https://www.drupal.org/project/social_course/issues/3256927
Theme issue tracker
- https://www.drupal.org/project/socialbase/issues/3256324
- https://www.drupal.org/project/socialblue/issues/3256328
How to test
-
Define your entity type in the "social_group_join_method_usage" hook. -
When you log in as CM+ and navigate to the entity creation page then you should see the "Join methods" field in the "Settings" section. -
Join methods functionality for your entity type should work similarly to the same functionality for groups. -
Join methods functionality for groups should work as before.
Release notes
Join methods can be used for other entity types.
Change Record
Edited by Oleksandr Horbatiuk