| 1 | <?php |
| 2 | /* |
| 3 | +--------------------------------------------------------------------+ |
| 4 | | Copyright CiviCRM LLC. All rights reserved. | |
| 5 | | | |
| 6 | | This work is published under the GNU AGPLv3 license with some | |
| 7 | | permitted exceptions and without any warranty. For full license | |
| 8 | | and copyright information, see https://civicrm.org/licensing | |
| 9 | +--------------------------------------------------------------------+ |
| 10 | */ |
| 11 | |
| 12 | /** |
| 13 | * |
| 14 | * @package CRM |
| 15 | * @copyright CiviCRM LLC https://civicrm.org/licensing |
| 16 | */ |
| 17 | |
| 18 | /** |
| 19 | * Settings metadata file |
| 20 | */ |
| 21 | |
| 22 | return [ |
| 23 | 'tag_unconfirmed' => [ |
| 24 | 'group_name' => 'Campaign Preferences', |
| 25 | 'group' => 'campaign', |
| 26 | 'name' => 'tag_unconfirmed', |
| 27 | 'type' => 'String', |
| 28 | 'html_type' => 'text', |
| 29 | 'default' => 'Unconfirmed', |
| 30 | 'add' => '4.1', |
| 31 | 'title' => ts('Tag for Unconfirmed Petition Signers'), |
| 32 | 'is_domain' => 1, |
| 33 | 'is_contact' => 0, |
| 34 | 'description' => ts('If set, new contacts that are created when signing a petition are assigned a tag of this name.'), |
| 35 | 'help_text' => '', |
| 36 | 'settings_pages' => ['campaign' => ['weight' => 10]], |
| 37 | ], |
| 38 | 'petition_contacts' => [ |
| 39 | 'group_name' => 'Campaign Preferences', |
| 40 | 'group' => 'campaign', |
| 41 | 'name' => 'petition_contacts', |
| 42 | 'type' => 'String', |
| 43 | 'html_type' => 'text', |
| 44 | 'default' => 'Petition Contacts', |
| 45 | 'add' => '4.1', |
| 46 | 'title' => ts('Petition Signers Group'), |
| 47 | 'is_domain' => 1, |
| 48 | 'is_contact' => 0, |
| 49 | 'description' => ts('All contacts that have signed a CiviCampaign petition will be added to this group. The group will be created if it does not exist (it is required for email verification).'), |
| 50 | 'help_text' => '', |
| 51 | 'settings_pages' => ['campaign' => ['weight' => 20]], |
| 52 | ], |
| 53 | |
| 54 | ]; |