Filter groups according to included profiles
authorAndrew Engelbrecht <andrew@fsf.org>
Mon, 25 Sep 2017 22:34:51 +0000 (18:34 -0400)
committerMichael McMahon <michael@fsf.org>
Wed, 19 Aug 2020 15:42:33 +0000 (11:42 -0400)
commit5847ed63151173e3eb03af9b637ff2f67fbcaa90
treef07c0165b225058543dcd3b250871d2a273202a5
parent4bf2d07a9d286f511c87361d5043490f9c29e936
Filter groups according to included profiles

This is a continuation of the contact groups filtering feature, which
allows admins to filter the public listings of contact groups on various
Civi pages by setting a Drupal variable with drush.

It is now possible to set a rule for a profile and for that rule to
automatically apply to standalone profile pages, contribution pages that
include the profile, and event pages that include it as well.

See comments in CRM/Contact/Form/Edit/TagsAndGroups.php for instructions
on how to set the variable via drush.
CRM/Contact/Form/Edit/TagsAndGroups.php
CRM/Contribute/Form/Contribution/Confirm.php
CRM/Event/Form/Registration/Confirm.php
CRM/Profile/Form.php