langcode: en
status: true
dependencies:
  config:
    - group.type.closed_group
  module:
    - ginvite
    - user
  enforced:
    module:
      - social_group_invite
id: closed_group-group_invitation
label: 'Closed group: Group Invitation'
description: 'Creates invitations to group.'
group_type: closed_group
content_plugin: group_invitation
plugin_config:
  group_cardinality: 0
  entity_cardinality: 1
  use_creation_wizard: false
  invitation_subject: "[user:display-name] has invited you to join a group on [site:name]."
  invitation_body: "Hi,<br /><br /> I would like to invite you to join my group [group:title] on [site:name].<br /><br />Kind regards,<br />[user:display-name]<br /><br /><table class=\"btn-wrapp\">\r\n\t<tbody>\r\n\t\t<tr>\r\n\t\t\t<td class=\"align-center\"><a class=\"btn-link btn-link-bg btn-link-one\" href=\"[group_content:register_link]\">View group</a></td>\r\n\t\t\t<td class=\"align-center\"><a class=\"btn-link btn-link-bg btn-link-one\" href=\"[site:url]\">About [site:name]</a></td>\r\n\t\t</tr>\r\n\t</tbody>\r\n</table>"
  existing_user_invitation_subject: "[user:display-name] has invited you to join a group on [site:name]."
  existing_user_invitation_body: "Hi,<br /><br />I would like to invite you to join my group [group:title] on [site:name].<br /><br />Kind regards,<br />[user:display-name]<br /><br /><table class=\"btn-wrapp\">\r\n\t<tbody>\r\n\t\t<tr>\r\n\t\t\t<td class=\"align-center\"><a class=\"btn-link btn-link-bg btn-link-one\" href=\"[group_content:my_invitations_link]\">View group</a></td>\r\n\t\t\t<td class=\"align-center\"><a class=\"btn-link btn-link-bg btn-link-one\" href=\"[site:url]\">About [site:name]</a></td>\r\n\t\t</tr>\r\n\t</tbody>\r\n</table>"
  send_email_existing_users: 1
