Problem/Motivation

Functionality for using different join methods is hardcoded only for groups.

Steps to reproduce

  1. Define your entity type in the "social_group_join_method_usage" hook.
  2. 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.
  3. Join methods functionality for your entity type should work similarly to the same functionality for groups.
  4. Join methods functionality for groups should work as before.

Proposed resolution

Delete hard relationships to groups to be able to use it for different entity types.

Issue fork socialbase-3256324

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

chmez created an issue. See original summary.

ohorbatiuk’s picture

StatusFileSize
new4.67 KB
ohorbatiuk’s picture

Assigned: ohorbatiuk » Unassigned
Status: Needs work » Needs review
ressinel’s picture

Status: Needs review » Reviewed & tested by the community

Agami4 made their first commit to this issue’s fork.

ohorbatiuk’s picture

Version: 2.1.x-dev » 2.2.x-dev
Issue summary: View changes
Parent issue: » #3254715: Make join methods for groups re-usable

  • Agami4 committed e005266 on 2.3.x authored by chmez
    Issue #3256324 by chmez: Make join methods for groups re-usable
    
agamich’s picture

Version: 2.2.x-dev » 2.3.x-dev
Status: Reviewed & tested by the community » Fixed

Merged into 2.3.x

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.