Skip to content

Issue #3256927 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

Theme issue tracker

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

https://www.drupal.org/node/3284696

Merge request reports

Loading