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 socialblue-3256328

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:

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

chmez created an issue. See original summary.

lexhouk’s picture

lexhouk’s picture

Assigned: lexhouk » Unassigned
Status: Needs work » Needs review

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

ribel’s picture

FileSize
6.62 KB

Here is updated version of the patch with CSS styles fr buttons.

ribel’s picture

FileSize
7.07 KB

Here is updated patch with improved border-radius for the buttons on the group statistic block.

Agami4’s picture

lexhouk’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
ressinel’s picture

Status: Needs review » Reviewed & tested by the community

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

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.