Problem/Motivation
Request membership link throws error when added to view where the view contains groups without the group_membership_request plugin.
Steps to reproduce
Create a group type with the group_membership_request plugin and a group type without the group_membership_request plugin.
Add a view with with these groups and add "Request membership" link.
The following error is shown:
Drupal\Component\Plugin\Exception\PluginNotFoundException: Plugin ID 'group_membership_request' was not found. in Drupal\Core\Plugin\DefaultLazyPluginCollection->initializePlugin()
Proposed resolution
The Request membership link should work in views with mixed group types
Remaining tasks
User interface changes
API changes
Data model changes
Issue fork grequest-3270134
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
Comment #3
lobsterr commentedComment #4
lobsterr commentedI have added also checks to Approval / Rejection links. Also, add an additional logic to extract group.
Comment #6
lobsterr commented