Merge pull request #19487 from civicrm/5.34
[civicrm-core.git] / settings / Campaign.setting.php
CommitLineData
6a488035
TO
1<?php
2/*
3 +--------------------------------------------------------------------+
6b7eb9df 4 | Copyright CiviCRM LLC. All rights reserved. |
6a488035 5 | |
6b7eb9df
TO
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 |
6a488035 9 +--------------------------------------------------------------------+
d25dd0ee 10 */
6a488035
TO
11
12/**
13 *
14 * @package CRM
f452d72c 15 * @copyright CiviCRM LLC https://civicrm.org/licensing
6a488035 16 */
a7e15692 17
18/**
6a488035
TO
19 * Settings metadata file
20 */
21
dfe1f88a
CW
22return [
23 'tag_unconfirmed' => [
6a488035
TO
24 'group_name' => 'Campaign Preferences',
25 'group' => 'campaign',
26 'name' => 'tag_unconfirmed',
27 'type' => 'String',
a7e15692 28 'html_type' => 'text',
6a488035
TO
29 'default' => 'Unconfirmed',
30 'add' => '4.1',
a7e15692 31 'title' => ts('Tag for Unconfirmed Petition Signers'),
6a488035
TO
32 'is_domain' => 1,
33 'is_contact' => 0,
a7e15692 34 'description' => ts('If set, new contacts that are created when signing a petition are assigned a tag of this name.'),
35 'help_text' => '',
510645fa 36 'settings_pages' => ['campaign' => ['weight' => 10]],
dfe1f88a
CW
37 ],
38 'petition_contacts' => [
6a488035
TO
39 'group_name' => 'Campaign Preferences',
40 'group' => 'campaign',
41 'name' => 'petition_contacts',
42 'type' => 'String',
a7e15692 43 'html_type' => 'text',
6a488035
TO
44 'default' => 'Petition Contacts',
45 'add' => '4.1',
a7e15692 46 'title' => ts('Petition Signers Group'),
6a488035
TO
47 'is_domain' => 1,
48 'is_contact' => 0,
a7e15692 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' => '',
510645fa 51 'settings_pages' => ['campaign' => ['weight' => 20]],
dfe1f88a 52 ],
6a488035 53
dfe1f88a 54];