Filter groups according to included profiles
authorAndrew Engelbrecht <andrew@fsf.org>
Mon, 25 Sep 2017 22:34:51 +0000 (18:34 -0400)
committerAndrew Engelbrecht <andrew@fsf.org>
Wed, 11 Apr 2018 21:21:34 +0000 (17:21 -0400)
commit10fe6a8cc40575c630f635117357d6905743ddbe
tree90547269bce5b4558f8ac252a73538c2dd0c8c4b
parent46b54be39c2b6b15b7d6f248d0b2d1b2c92c707f
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