Merge pull request #14103 from jitendrapurohit/core-889
[civicrm-core.git] / settings / Campaign.setting.php
index ef9673b7913baf601e243260c24110aa2d6f613b..7f6aaf2c470d84c16a70c927d4ce96a087468605 100644 (file)
@@ -35,8 +35,8 @@
  * Settings metadata file
  */
 
-return array(
-  'tag_unconfirmed' => array(
+return [
+  'tag_unconfirmed' => [
     'group_name' => 'Campaign Preferences',
     'group' => 'campaign',
     'name' => 'tag_unconfirmed',
@@ -49,8 +49,9 @@ return array(
     'is_contact' => 0,
     'description' => ts('If set, new contacts that are created when signing a petition are assigned a tag of this name.'),
     'help_text' => '',
-  ),
-  'petition_contacts' => array(
+    'settings_pages' => ['campaign' => ['weight' => 10]],
+  ],
+  'petition_contacts' => [
     'group_name' => 'Campaign Preferences',
     'group' => 'campaign',
     'name' => 'petition_contacts',
@@ -63,6 +64,7 @@ return array(
     'is_contact' => 0,
     '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).'),
     'help_text' => '',
-  ),
+    'settings_pages' => ['campaign' => ['weight' => 20]],
+  ],
 
-);
+];