This module contains the custom routing information needed to build Group and Group Content add buttons as a part of the Views Add Button project. This module also contains the capacity to create join and leave links for Group Memberships.

Main usage

When you choose to create group content, you may create the group content entity itself, or also create the connected entity. In the case of a membership, you may create "join" and "leave" links.

The "Entity context" parameters start with a group ID, and an optional action parameter. These are formatted as a comma-separated list, i.e. {{ group_id }},{{ action }}

  • No action parameter (blank): creates the entity to be linked to the group, followed by the group content entity. This is the same as the "Create new entity in group" link on the Related Entities page
  • add: Creates a new group content entity. This is the same as the "Relate existing entity to group" link on the Related Entities page.
  • join: Generates a membership join link.
  • leave: Generates a membership leave link.

Credits

Views Add Button: Group was developed for the Niobi Research Center project.

Supporting organizations: 
Maintains/develops the module

Project information

Releases